- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 4
- Posts with Upvotes
- 4
- Upvoting Members
- 4
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
46 Posted Topics
Hi, You cannot use google translate without google "approvel". You need to open an account and then use their API. You can find more information here: https://developers.google.com/translate/
Hi, I did not understood what you need about your forms, can you try to explain again. About showing and hideing the forms, if you need to only hide the first form, show the second one and after finished with it close it and return to the first form you …
In database you stored the picture as byte array right? So now to convet it back to image you need to do: [CODE] System.IO.MemoryStream ms = new System.IO.MemoryStream(byte array of the image); System.Drawing.Image img = System.Drawing.Image.FromStream(ms); [/CODE] And use the image how you like... If your image is not stored …
i dont think the problem is Show(), after looking at your code you are creating two instnace of FormA, the first one is when your app starts and the second one is when you wants to return to FormA from FormB. What you need to do is: [CODE] FormB frmB …
Or you can use CLI, google it...
Please explain little better, because I didnt understood what you need.
I'm not sure that is the right solution, because if you redirect to a pdf file so the user on the other side has to have AcrobatReader on his machine, AcrobatReader know to open the file on the explorer, think of it as en addin to explorer so with out …
Hi guys, I have built xsd for my xml. Everything is working ok, but now I need to add support to the XML that a specific attribute will be unique. The attribute that I need it to be unique is the "Id" attribute of the "Test" element, you can find …
What? I didn't understand what you want, Please try to explain again and give example of your code\gridview
Hi, What you need is to use the following code: [CODE]this.dataGridView1[columnIndex,rowIndex];[/CODE] Enjoy!
From javascript or from server side and in what language?(C#,c++,VB)
Like this: [0-9]+\.+[0-9]{3} the numer in the {} is the number that you want after the dot.
[QUOTE=engg_mahesh_knl;983345]hii All, I wants to Create XML File DYnamically Using ASP.Net C# which retrieves data from sql server database. Also I wants that To delete / Create Xml files on server Just By Clicking a button... Thankyou....[/QUOTE] Its a problem to guide you step by step because we dont know …
It's a security problem to write the id in the params string but you can do it like this: Response.Redirect("Orderform.aspx?id=[COLOR="Red"]TheIdTextBox.text[/COLOR]");
Hi, I have a sliderextender on my page. The problem is that it always on top of all controls. I mean I have a popupcontrol when it opens I can see the sliderextender under it. What is the problem and how I can fix it. Thank you.
Do you mean? [CODE]nameOfTable.DataSource[/CODE]
Try: [CODE]buttonName.PostBackUrl="javascript:void(0);"[/CODE]
Hi, Create a new: [CODE]System.Web.UI.WebControls.ListItem[/CODE] for each item and set its color as you want, or you can of course set its cssclass to call different classes and there set the colors that you want
Do you get en exception message in run time like permission is not allowed or somthing like this?
Send the value in the query string like this: [CODE]Name of web page.aspx?parm=value[/CODE] In the web app when the page loads read the parm like this: [CODE]this.Request.Params["parm"][/CODE] and use it how you want...!
If you want to change file name you need to use the [CODE]System.IO.File[/CODE] class, like this: [CODE]System.IO.File.Move(@"c:\1.lnk", @"c:\1.exe");[/CODE] That is if you want to change and delete the old one, and if you want to keep both of the files use: [CODE]System.IO.File.Copy(@"c:\1.lnk", @"c:\1.exe", false);[/CODE] The last parm that you send …
[QUOTE=sonia sardana;900965]Secondly I want to know that in VB.Net we have ubound to get the upper bound of the array..What is the equivalent in ASP.net? [/QUOTE] [CODE] arrayName.GetUpperBound(dimension); arrayName.GetLowerBound(dimension);[/CODE] or you can use: [CODE] arrayName.GetLength(dimension);[/CODE]
[QUOTE=Darkangelchick;903667] I keep coming up with different errors and when I view the source code after running the page it's different than the code I entered in dreamweaver on my page. [CODE]<input value="Bid Now!" type="submit" onClick="msgbox('hello')">[/CODE][/QUOTE] Of course you will get different control when you view the source code of …
Why did you opened a new thread for that question? You asked this question already in another thread.
Hi serkan sendur, To get only the folder part of the path, use static method GetDirectoryName of Path class. [CODE]using System.IO; using System.Windows.Forms; string appPath = Path.GetDirectoryName(Application.ExecutablePath); [/CODE] To get assembly in which the specified class is defined use method Assembly.GetAssembly (with the specified class type as a paramater). The …
Hi, Read this to how to create the DB on runtime: [URL="http://www.codeproject.com/KB/database/CreateDB.aspx"]http://www.codeproject.com/KB/database/CreateDB.aspx[/URL]
Hi, When you do: [CODE]cmd.Dispose();[/CODE] you are not really dispose the object the minute that you do it, its only tells to the Garbage Collection that you dont need this object any more, and sugesting him to dispose the object, you cant force the Garbage Collection to dispose the object, …
Hi, Timers its not what you are looking for becuase timers is to count time and you dont need it by what i understood. What you need is: [CODE]System.Threading.Thread.Sleep(milliseconds);[/CODE] To get time wait.
Hi, What you need to do is to build your database, after its ready start working on your program. When you start working on your program, put on your form two textbox and two buttons (when you have different search engine its better to work with different controls for each …
[QUOTE=chriscross86;895288] [CODE]reader = con2.ExecuteReader()[/CODE][/QUOTE] try this: [CODE] Dim reader As SqlDataReader reader = con2.ExecuteReader() [/CODE] or: [CODE] Dim reader As SqlDataReader = con2.ExecuteReader() [/CODE]
[QUOTE=xenon3000;902165] I think that when you link a control (like accordion) by DataSourceID="SqlDataSource1" it'll have some way to know the row that it reading in everytime. [/QUOTE] Hi, To know the row that have been selected in accordion you need to use: [CODE]accordionName.SelectedIndex[/CODE]
Why dont you google it, there is a lot of forums that talks about Messenger API, there you go... i searched for you just press the link:[URL="http://www.google.co.uk/search?hl=en&q=messenger+api&btnG=Search&meta="]http://www.google.co.uk/search?hl=en&q=messenger+api&btnG=Search&meta=[/URL]
If you are using sqldatasource control you need to set the select statment of the SqlDataSource2 like this: [CODE]SELECT field2 FROM table2 WHERE id = @id[/CODE] And then when you want to populate your Accordion1 you need to do like this: [CODE]this.SqlDataSource2 .SelectParameters["id"].DefaultValue = "the value that you want in …
Try this code: [CODE] // array of integers to hold values private int[] a = new int[100]; private int[] b = new int[100]; // number of elements in array private int x; // Merge Sort Algorithm public void sortArray() { m_sort( 0, x-1 ); } public void m_sort( int left, …
i tried it my self nd its working, i tried: [CODE] TreeView trVw = new TreeView(); trVw.Nodes.Add(new TreeNode("One")); trVw.Nodes.Add(new TreeNode("Two")); trVw.SelectedNodeChanged += new EventHandler(trVw_SelectedNodeChanged); this.pnl.Controls.Add(trVw); void trVw_SelectedNodeChanged(object sender, EventArgs e) { throw new NotImplementedException(); //put break point here and it worked } [/CODE] maybe you have a postback event on …
[COLOR="green"]<HtmlTable> <HtmlTableRow> <HtmlTableCell>[/COLOR] [COLOR="Red"] <HtmlTable> <HtmlTableRow> <HtmlTableCell> <HtmlTableCell> <HtmlTableRow> <HtmlTable>[/COLOR] [COLOR="green"] <HtmlTableCell> <HtmlTableRow> <HtmlTable>[/COLOR] if its not what you want so try to explain your self again
This may due to some permission setting in Temp folder. To solve it, 1. Go to %Systemroot%, normally C:\WINDOWS or C:\WINNT 2. Right-click the Temporary folder (mine is C:\WINDOWS\Temp) and select Sharing and Security. Select the Security tab and take a look at the list of “Group or user names:” …
Have you tried [CODE]Application.Close()[/CODE]? If you have, can you please post your code here so we can help you!
Hi, try to do: [CODE]this.nameOfPictureBox.Invalidate();[/CODE] if it does not work post your code
[QUOTE=Blaine Tuisee;899182]I am writing a program that has a sort of login window, i was looking for a way to resize the window so that it doesn't open so big with empty space. Any help is appreciated[/QUOTE] window.open("ur"l, "title", "height=what you want,width=what you want") you can add to the last …
i dont know what about you or the others but any string i put in the admin or in the password grant me access to the admin panel. what you do is every time that you update a char in the text box it update its attribute and threfore you …
i dont know why you faild to work with iTextSharp.dll, i worked with it a few weeks ago and it works just fine. but if you don't want to learn to work with it so i can suggest to download a third party software that know to receive command lines …
what are you tring to achive here? try to be more specific and maybe as adatapost said try to put your code in here
what is?: [QUOTE]Dim reader As System.Data.SqlClient.SqlDataReader[COLOR="Red"]con1[/COLOR][/QUOTE] the con1 is a mistake remoe it and use it like this: Dim reader As System.Data.SqlClient.SqlDataReader
A more simple and safe way is to create a public static object in the master page cs and just before you open the window update its value, after that in the window you call A property to read the object. somthing like this: master page .cs [CODE]private static string …
The End.
IdanS