Topics
-
- 11 replies
- 1.1k views
I feel really stupid by asking this. On my form I have a button. When the user clicks the button he should open a form and close the otherone. just like a hyperlink in HTML with the same target. my code is private void btnButton1_Click(object sender, System.EventArgs e) { Agenda frm = new Agenda(); frm.ShowDialog(); } But now he opens the form above the otherone..
Last reply by rmokkenstorm, -
- 0 replies
- 853 views
Discovery I made yesterday, the new features in VB8 mentioned in this thread don't seem to play nicely with Windows2000. Basically, I've found that when you declare a splash screen if the splash closes before your main form starts the application will exit regardless of whether you chose exit on last form closed or on main form closed. This is a Windows 2000 only issue and seems to be related to the decleration of the event loop and what Windows 2000 considers the main form. The funny thing is that so long as the main form starts before the splash closes, then everything works. I'm still researching this, but if anyone has any thoughts or explinations on why this mi…
Last reply by mskeel, -
- 7 replies
- 1.3k views
Hi all, I am facing a strange problem using IsDate function. Trouble is that IsDate returns true for every valid format of date. Currently on my website, everywhere for the sake of consistensy, we are using dd-MMM-yy format to display dates. Now if I put date as 30-Feb-07 which acc to above format is invalid, but IsDate(30-Feb-07) returns True as it take it as 07-Feb-30 and returns valid. Now for the sake of consistency, I can not change the format I am using. Is there any workaround to it. Thanks in advance.
Last reply by ashutosh9910, -
-
- Administrators
- *Experts*
- Leaders
- 5 replies
- 815 views
Could someone please tell me how to turn back on the little helper window that is usually displayed in the bottom right hand corner, under the properties. You know you hover on a property and it describes it in this window thingy? Thanks.
Last reply by Jay1b, -
-
- 0 replies
- 1.1k views
Hi to all. I have this code in javascript var panels = new Array('panel1', 'panel2', 'panel3', 'panel4'); var selectedTab = null; function showPanel(tab, name) { if (selectedTab) { selectedTab.style.backgroundColor = ''; selectedTab.style.paddingTop = ''; selectedTab.style.paddingBottom = ''; } selectedTab = tab; selectedTab.style.backgroundColor = 'white'; selectedTab.style.paddingTop = '6px'; for(i = 0; i < panels.length; i++) { document.getElementById(panels[i]).style.display = (name == panels[i]) ? 'block':'none'; } return false; } this code alows me to have a simple tab implementation. I then have a series of DIV that alow me tro control the tab…
Last reply by rfazendeiro, -
-
- Administrators
- 9 replies
- 951 views
I've got a form (maximised) splittet in 2 sections. On the left side a Listbar. My plan is: if i press a button on the (converted listbar (outlook look)) that there is loaded an form on the right part of the form. Is that possible? And how ? Can i include a form into a panel ? Greets, Jelmer
Last reply by Jelmer, -
-
- 1 reply
- 1.1k views
i want to step through a sproc as its being called. im testing an app and this would be the easiest way to debug. i dont have visual studio 2005. is there any way in sql server 2005 to insert a breakpoint into a sproc and step through it?
Last reply by Puiu, -
-
- *Gurus*
- 11 replies
- 10.5k views
>> Could anyone help me with this? Application has generated an exception that could not be handled. Process id=0x48c (1164), Thread id=0x1e8 (488). Click on OK to terminate the application. Click on CANCEL to debug the application >> Followed by another one as follows Registered JIT debugger is not available. An attempt to launch a JIT debugger with the following command resulted in an error code of 0x2 (2). Please check computer settings. cordbg.exe !a 0x48c Click on Retry to have the process wait while attaching a debugger manually. Click on Cancel to abort the JIT debug request. >> This occured when i'm about to deploy my …
Last reply by vader1000, -
-
-
- *Experts*
- Leaders
- 4 replies
- 1.3k views
How can I check if a key in an array exists without getting an Out of Bounds exception? Thanks in advance :)
Last reply by Nerseus, -
-
- 0 replies
- 1.6k views
Good afternoon, all! It's my first post, so hopefully it isn't too stupid or simple. Then again, maybe that would be a good thing for me :cool: I'm currently writing a video player using DirectDraw, and I am curious as to which approach is suggested for timing the drawing of frames. So far, spawning a seperate thread and using the QueryPerformanceObject (or something like that) for obtaining a fairly precise timer has given me the best results, but I am seeing higher-than-usual CPU usage (higher than, say, using any other video player I've ever seen!) when I'm doing this. Is there something I'm missing that will allow me to time the rendering of frames that won't gen…
Last reply by AdamRobinson, -
- 14 replies
- 1.5k views
I have a monitoring program that needs to display serial data (messages) in a list. Im not sure on the best form control to use. Each message has different parts that I want to break up into multiple columns. So the number of columns will be fixed, the rows could be on the order of 1000's. The rows need to be added on a realtime basis, but no faster than a rate of 3 ms. Not all data has to be seen, so a vertical scroll bar is needed. Some controls Ive some across are flexgrid, or the .net datagrid (heard it was slow though). Right now im leaning on the flexgrid. Any other ideas?
Last reply by Cags, -
-
- Leaders
- 7 replies
- 1.5k views
I've reached the point in a program where I've decided that I need the extra precision that Decimals give me over doubles. The problem is that Math.PI, Math.Sqrt, Math.Cos, etc.. all take doubles as arguments and return doubles. Is there a way to get around this or am I stuck with doubles? Does anyone know of an open source .Net Math library that might do the trick if The Framework can't handle it?
Last reply by Wile, -
-
- 3 replies
- 1.2k views
I have a textbox tied to a dataset and then into an Access database. The textbox is set with a maxlength of 0. The field in the Access database is a memo field. Where the dataset is defined, the field is set as string. The textbox will accept unlimited (or 65000+) characters, and I know a memo field is the same length in Access, but when the contents of the field are saved, I believe it is truncated at 255. I'm thinking it is because in the dataset the field is defined as a string. Does a string have a limit? I noticed there was a notation option, should I use that? Thanks!
Last reply by shootsnlad, -
- 3 replies
- 1.1k views
Hi, I have a form, with a multiline textbox, and I have a background worker, which handles a connection to an IRC server. But how can I add text to my textbox from my background worker? Thanks in advance :)
Last reply by MrLucky, -
-
- Administrators
- 3 replies
- 1.2k views
I need to detect the presence of a machine on my network every minute or so. At the command line I can simply ping the address, how can I do it in vb.net? Any help would be greatly appreciated. Thanks, Gary
Last reply by Cags, -
-
- 0 replies
- 1.6k views
I am using a com dll developed in vb with the .net class .In one machine i can run the .net class by giving the reference to the com dll . But if i copy the same class to other machine and trying to run compile the class it is giving System.Runtime.ComException. OS -->XP DotNEt-->VS.net2003
Last reply by sureshcd10, -
- 0 replies
- 1.9k views
how can i rename the Access table name ? i have find that i can use ADOX or DAO however, i really cannot figure how i can use it or delcare it hope anyone can help me thanks
Last reply by realjacky, -
- 2 replies
- 4.2k views
I have a folder structure for my application as follows... MainAppFolder (folder) - Global.dll - Application.exe - Plugins (folder) - Plugin1.dll - Plugin2.dll The Global.dll file contains the Interface declarations which are used by both the Plugins and the Application. By default that structure won't function properly as the Plugins require access to the Global.dll. To get around this I have added an item to the Reference Path list of the Plugin dlls, however I'm concerned that this won't function properly when the application is deployed. Can anyone tell me if this will still work after deployment, or if it won't work, suggest a better way of …
Last reply by Wile, -
-
- *Experts*
- 1 reply
- 584 views
Simply put, I want a way to secure my c# project so to require some kind of serial-key/cd-key to any user trying to use it - keep it mind I am an absolute beginner in this field of software development (coding, encoding, encrypting, etc...) So, I came up with the following scheme: On launch of the application (when the user double-clicks): - Check Registry for a value->key X, if found continue and load the application - If X not found prompt for SERIAL-KEY/CD-KEY - If valid, add registry value->key X and continue to load the application - Else abort with error message telling user he needs a valid key So, right off the bat I wanted to know if anyone s…
Last reply by Nerseus, -
-
- 2 replies
- 873 views
Hi Does anybody know how to assign users to memberships roles? Obviously there is a handy little control to create users, but then how do you go on to add these to a particular role? Obviously the users can create themselves, and then i would like somebody to be able to assign these users to particular roles. Thanks Jay.
Last reply by Jay1b,
-
Who's Online 0 Members, 0 Anonymous, 57 Guests (See full list)
- There are no registered users currently online