Topics
-
- 1 reply
- 1k views
I'm working with Visual Studio .Net 2005 , and i was wondering if there was an option to make a program with a 'outlook' bar. I meant that was a new option in the 2005 version ? I cant find it.. or is there a good component for that works very well ?
Last reply by mskeel, -
- 3 replies
- 2.7k views
The code at the end of this post produces the error "Input string was not in a correct format" on the line with: LoadWeaponList(Convert.ToInt32(lstJobs.SelectedValue)); If I remove the Convert.ToInt32() method, the code will produce a compilation error saying "The best overloaded method match for 'ASP.rostatcalc_aspx.LoadWeapon(int)' has some invalid arguments". I've checked the HTML produced by this template with the offending lines commented out and all the listbox values contain numbers, so I'm at a loss as to why this function call refuses to accept the input. Does anyone here know? private String strConnString; private String strErrors; public ROCharac…
Last reply by fizzled, -
- 0 replies
- 1.3k views
i made a custom alert control (vwd express 2005) out of this, http://slayeroffice.com/code/custom_alert/, i did some alteration on css to support IE browsers without position:fixed, and took off the mispelled (dunno if intensionally) visibility property (no use for this, fixing it wouldnt show the alert) now, my question is this, popping the alert after postback would cause an exception, but it can be resolved by using setTimeout (in js), so i added it, but in some cases where the page would load longer than expected i end up with this error. "Internet Explorer cannot open the Internet site http://localhost:2220/alert/default.aspx Operation aborted" then with a…
Last reply by lamy, -
- 8 replies
- 2.2k views
I want to be able to load a mesh into vs.net without having to define the textures at all, but use the texture information in the .x file. I am using the code at http://www.xtremedotnettalk.com/showthread.php?t=95349 . How would I be able to load a mesh file into vs.net by using the texture information in the .x file? Answer in either c# or vb.net Thanks a lot in advance, decrypt
Last reply by Nate Bross, -
- 0 replies
- 800 views
I have a trigger based auditing scheme in place, but I would like to log changes to structure (not just data).. i.e. if someone renames a column, table, etc. ?? Is there a way to do such a thing :cool:
Last reply by rmatthew, -
-
- Administrators
- 1 reply
- 1.2k views
After spending a good few weeks creating a vb.net application that essentially is used for inputing/retrieving data from a series of tables, management would rather it be an intranet application. What's involved in changing the code to asp? What are the restrictions, and what should I be aware of? Thanks. Drew
Last reply by PlausiblyDamp, -
-
-
- *Experts*
- 13 replies
- 1.2k views
I've like to build a script that searches for every textbox and cleares it. The textbox is on a GroupBox. I've build this script.. but it doesnt work.. it only searches for the main components on the main form. Not the components on the groupbox. private void btnWissen_Click(object sender, EventArgs e) { foreach (Control tempCtrl in this.Controls) { string str = Convert.ToString(tempCtrl.GetType()); if (str == "System.Windows.Forms.TextBox") { tempCtrl.Text = ""; } } } How can i build it like so the program searches al the c…
Last reply by Jelmer, -
-
-
- Administrators
- *Experts*
- 13 replies
- 1.3k views
Dear All, I am presently modularising various sections of a project, turning them into compiled libraries on a central server. I then add these as references to other libraries. Some of the libraries I have written access other libraries which access other libraries... (Hope I'm not loosing you). My problem lies in the fact that I have one particular library that utilitses two other libraries both of which require the same (fourth) library, causing a structure like the image enclosed below. The only way I can get this to work properly is by setting the Copy Local property for the reference to false, preventing the offending classes from being copied locally;…
Last reply by PlausiblyDamp, -
-
- 2 replies
- 997 views
hi all, This is my code, which give me an error of "name" is not declared 'code for WebForm1.aspx.vb Sub submit(ByVal sender As Object, ByVal e As EventArgs) If name.value <> "" Then p1.InnerHtml = "Welcome " & name.value & "!" End If End Sub Code for WebForm1.aspx <form runat="server"> Enter your name: <input id="name" type="text" size="30" runat="server" /> <br /><br /> <input type="submit" value="Submit" OnServerClick="submit" runat="server" /> <p id="p1" runat="server" /> </form> The name is my input id, how to pass the value?
Last reply by miwaypro, -
- 1 reply
- 1.2k views
Hey guys, I have to say ASP.NET v2 is great, fantastic new controls, vs2005 is way better than 2003 etc... But there are issues... 1. Some controls will still produce code not compatible with XHTM and though validation will fail. Anyway that's not the point of the this thread. Here is my problem. Master pages, yeap great new feature. But how on earth are you supposed to refence your files. say images, scripts etc. Example you have the following folder structure: Root+ mymaster.master images+ img.gif pages+ page1.aspx english+ page2.aspx …
Last reply by sbauer, -
- 1 reply
- 13.2k views
So if DateTime is suppose to be Nullable in 2.0 why do I get this error (nullable value types is suppose to be something support in 2.0 I believe)? Basically I have a form where I'm updating the date, the date can be null in the database if it's not used, meaning I must be able to set the field to null from the front end application. Basically what I'm doing in my DataList is if the text box that represents the Date is blank, I don't set the Update Parameter. I have tried the 'ConvertEmptyStringToNull' property to both true and false, both get the same errors. I hate to have to do a bunch of special if statements looking for DateTime.MinValue - but if I have t…
Last reply by bri189a, -
-
- *Experts*
- 13 replies
- 1.1k views
Hi, just wondered if anyone could help. I'm new to VB .NET and XML but I'm loading an XML file into a text box and then I want to extract the information into various text fields. i.e in the XML file I have the <usersname>????</username>, <surname>???</surname>, <house>?????</house>,<street> etc and I want to get the values held in these and others. Tried various examples shown when I've done a search but getting no where, every example shown uses different methods and I'm now totally lost. Hope someone can point me in the right direction, hopefully with an example, regards Muse
Last reply by Cags, -
-
- 1 reply
- 1k views
The following on my master page results in blue text, not white. Is this a bug? <td style="height: 24px"> <div style="position: absolute; top: 77px; left: 158px;"> <asp:Menu ID="SiteMenu" runat="server" Orientation="Horizontal" DataSourceID="SiteMapDataSource" Width="180px"> <StaticMenuItemStyle ForeColor="White" /> </asp:Menu> <asp:SiteMapDataSource ID="SiteMapDataSource" runat="server" ShowStartingNode="False" /> </div> </td> It's weird, it generates the following mark-up for the anchor element: <a class="ctl00_SiteMenu_1 ctl00_SiteMenu_3" href="/VSDOTNET/Project1/Page1…
Last reply by bri189a, -
- 4 replies
- 907 views
Hello I've got a little problem. I've declarated an array into a class above. public class Class_customers { string [] hoofd; public Class_customers(){ hoofd = new string[100]; } I controlled it if hoofd is actually filled with some data with a showmessagebox... and it contains data..: for (int i = 1; i < nCount; i++) { //Kolom headers header = new ColumnHeader(); header.Width = 100; header.Text = reader.GetName(i); hoofd[i-1] = reader.GetName(i); } But on the next part it we…
Last reply by Jelmer, -
- 2 replies
- 1.5k views
I have a set of data returning from a stored proc that needs to be deserialized to a generic collection, and I'm stumped. the xml is of the form <Countries> <Country countrycode="" countryname=""> <Country countrycode="" countryname=""> <Countries> the class looks like this [serializable] public class Country { string _code; string _name; public Country() { _code = String.Empty; _name = String.Empty; } public Country( string CountryCode, string CountryName ) { _code = CountryCode; _name = CountryName; } public string …
Last reply by Cags, -
- 0 replies
- 2.4k views
I have developed a Windows Mobile application in VB.net. All the function works veru well except the unicode problem. I am putting foreign language and it can be view in Windows XP and 2000, because we just need to enable the supplemental language support in Control Panel > Regional and Language Options > Languages My doubt is, can i do the same thing in windows mobile? or in what way should I write my program in order to view the unicode? Thanks in advance.
Last reply by georgepatotk, -
-
- Leaders
- 12 replies
- 1.7k views
Just curious what other people here are playing around with. What language(s) have you recently played with and how long ago? I've started (seriously) started using C# yesterday, and I have been playing with Python a little bit right after Christmas. Anyone else?
Last reply by Iceplug, -
-
- 0 replies
- 937 views
I'm using VS 2005 and I'd really like to use the System.Windows.Forms.WebBrowser control. The problem is that I'm having some focus issues it would appear when using a Java applet in the web page that is loaded in the control. When using the Sun Java Virtual Machine, right clicking on the applet will cause the applet to no longer receive keyboard input. But if I use the MS Java Virtual Machine, then this does not occur. But if I use the Internet Explorer application (not the embedded IE) with Sun Java, the problem does not occur. Also if I used the COM version of the control in VS 2005 instead of System.Windows.Forms.WebBrowser and Sun Java, the problem will still not …
Last reply by Damaged Soul, -
-
- Leaders
- 3 replies
- 1.2k views
Hello, I am programming in C++.Net and really don' find how i could create a listbox with different color for each item, Example : Item1 Item2 Item3 I saw there were already a solution to this problem in this forum but the file attached doesn't work so if someone can help it would be very nice Thank you
Last reply by snarfblam, -
-
- 1 reply
- 1.3k views
private void frmEerste_Click(object sender, EventArgs e) { try { status.Text = "Eerste record inlezen"; klant.open(); klant.first(); fill(); } finally { status.Text = "Gereed"; } } Thats my code. but i don't see the change in the status field. Status field is a part of a statusstrip. should i do a application.wait or something ? Second question. Is it possible to get another cursor while pressing the button ? And how ?
Last reply by Jelmer,
-
Who's Online 0 Members, 0 Anonymous, 60 Guests (See full list)
- There are no registered users currently online