[Solved] How to use a PSD in Android?

First, you need to export your PSD file to a PNG or similar format and put it in your drawable folder. Do the following in your XML: <ProgressBar android:id=”@+id/progressBar1″ style=”?android:attr/progressBarStyleHorizontal” android:progressDrawable=”@drawable/custom_progressbar” android:layout_width=”wrap_content” android:layout_height=”wrap_content” /> At run time do the following // Get the Drawable custom_progressbar Drawable draw=res.getDrawable(R.drawable.custom_progressbar); // set the drawable as progress drawable progressBar.setProgressDrawable(draw) … Read more

[Solved] how to write a stored procedure for adding the values in the table when we have two or more values for the same data in stored procedure MSSQl

how to write a stored procedure for adding the values in the table when we have two or more values for the same data in stored procedure MSSQl solved how to write a stored procedure for adding the values in the table when we have two or more values for the same data in stored … Read more

[Solved] tkinter code showing unexpected behavior

in the lines txtRefernce=Entry(f1,font=(‘arial’, 16,’bold’), textvarible=rand, bd=10, insertwidth=4,bg=”powder blue”, justify=’right’) You forgot an A in the textvariable param txtRefernce=Entry(f1,font=(‘arial’, 16,’bold’), textvariable=rand, bd=10, insertwidth=4,bg=”powder blue”, justify=’right’) The error is in the -textvariable param try correcting this part ALSO in the 195th line you forgot a # in the #ffffff color it worked just fine when I … Read more

[Solved] How to call a service from console Application in c#

HttpWebRequest req = null; HttpWebResponse resp = null; string baseaddress = “http://deveqtradedb.lazard.com/API.aspx?action=export&entity=global”; req = (HttpWebRequest)WebRequest.Create(baseaddress); req.Method = “POST”; req.ContentType = “text/xml; encoding = UTF-8”; resp = req.GetResponse() as HttpWebResponse; Check Here https://msdn.microsoft.com/en-us/library/system.net.httpwebrequest.getresponse(v=vs.110).aspx solved How to call a service from console Application in c#

[Solved] Need help writing an IF Statement in Exel

The syntax of If Function in Excel is as follows: =IF(Logic_Test, Value_if_True, Value_if_False) your logic test: e10=”High” your value if true: 0.337 your value if false is the rest of your expression: if E10=Medium then return 0.086 or if E10=Low then return 0.017. Repeat the process: logic test: e10=”Medium” value if true: 0.086 value if … Read more

[Solved] Select menu CSS [closed]

Is this what you need? select { border: 0 none; color: black; background: transparent; font-size: 14px; padding: 6px; width: 100%; background: #58B14C; text-indent: 50%; } #mainselection { overflow: hidden; width: 100%; background: #4CAF50; text-align: center; } select:hover { text-shadow: 1px 1px red; box-shadow:1px 1px red; } <div id=”mainselection”> <select> <option>Select options</option> <option>1</option> <option>2</option> </select> </div> … Read more

[Solved] c++ error : Segmentation fault (core dumped)

In your main you define gh(5) which allocates the vector of size 5 then you use your addEdge method with parameter (5,6) which tries to access list[5] but the five list entries are list[0],list[1],list[2],list[3], and list[4]. So I guess gh.addEdge(5,6) gives the Segmentation fault as it is out of range of your vector. 0 solved … Read more