User Profile
Collapse
-
Depends in which format you have the rgb color. Do you have it as hex? or do you just have the red green blue integer values?... -
i might aswell add that IE6 cant handle .png files properly if they have transparent pixels in them.Leave a comment:
-
In your form application you have a file called Program.vb (i think its .vb for vb.net applications... i only use c# and there its .cs)
In that file you can see a line where it says:
Change that to your other forms class name....Code:Application.Run(new [your formclass here]());
Leave a comment:
-
If you are to communicate with a webservice through a .net application you can right-click your Project ans click "Add Web reference" there you can type in the URL to the webservice.
This will create .NET objects for you to use when communicating with the webservice.Leave a comment:
-
Floydan replied to Implementing a DropDownList to Select a Value of a Property of a Custom UserControlin .NETI'm not sure if this is usefull, but you can get all the controls of a windows form by just writing (if you are in the Class inheriting from Form) this.Controls <- this will return a ControlCollecti on.
You should be able to retreive the form object by looking at your usercontrols owner?...Leave a comment:
-
Compiling/Publishing the application and then placing it on the other computer will keep your source compiled in a .dll file, unless you are using inline code (serverside code not placed in a separate .cs file).
If you are really concerned that noone should be able to see the source then you can even go so far as to obfuscate the compiled dll....Leave a comment:
-
Setting this option will tell the SMTP server to accept calls from "itself" this was an issue at my former company and something they forgot to check everytime they set up a new server....Leave a comment:
-
...Code:using System.Web.UI.HtmlControls; HtmlTable table = new HtmlTable(); HtmlTableRow row = new HtmlTableRow(); HtmlTableCell cell = new HtmlTableCell(); cell.InnerText = "Test"; row.Cells.Add(cell); table.Rows.Add(row);
Leave a comment:
-
-
-
Have you checked to see if the IIS server allows 127.0.0.1 to send emails in the SMTP Relay option?Leave a comment:
-
If which is a .NET field then this works.
If its a javascript variable that you want to use then do this:Code:thumb.InnerHTML = '<img src=\"" + which + "\">';
...Code:thumb.InnerHTML = '<img src=\" + which + \">';
Leave a comment:
-
Well as I said, it was just something i wrote from the top of my head without any real testing =)
Since i have no idea how your gridview looks alot of it are based on pure quessing =)Leave a comment:
-
-
Forgive my ignorant question. But how can the DataGrid retain its previous state and content between refreshes?
In his question he states that after hitting F5 refresh the datagrids items are doubled. I just dont see how that is possible.
Hitting refresh should refresh the browser and fire off the Page_Load event as if it is the first time the browser is loaded.
Ergo (advanced words here ;) ) the DataGrid should be cleared...Leave a comment:
-
That is odd, you havent placed a try catch around the redirect code have you? because that will always fire that event off....Leave a comment:
-
It was just an example that he gave. When you create a form you can create and instance of that form by using its name.
So if you create a Form named CreditForm then you instantiate that form by writing:
After you have created and instance you can the call the Show or the ShowDialog methods.Code:CreditForm credit = new CreditForm();
...Code:CreditForm credit = new CreditForm(); credit.Show();
Leave a comment:
-
Do you have any code I can have a look at to see if I can find the error?Leave a comment:
-
-
Hi,
Just a quick question, are we talking about a windows service here or a windows forms applications?...Leave a comment:
No activity results to display
Show More
Leave a comment: