Benzi's Q&A profile
Visual Basic How do I execute a form from another form?
How do I execute a form from another form Michael Hello Michael, To display one form from another you use code similar to the following: Dim Form1 as New FORM() Form1.Show() Is that what you mean by 'execute a form' Hope that helps, ...Show All
.NET Development Assembly strong binding
Hi, I have strange problem: I try to build .NET application which use Microsoft.DirectX assembly, but i have installed more than 1 version DirectX SDK on my PC and now i have such problem: //=========================================================== Error 1 The type 'Microsoft.DirectX.Direct3D.Device' exists in both 'c:\WINDOWS\Microsoft.NET\DirectX for Managed Code\2.0.0.0_x86\Microsoft.DirectX.dll' and 'c:\WINDOWS\Microsoft.NET\Di ...Show All
Windows Forms DataGrid throws unhandled exception(Index was outside the bounds of the array.)
DataGrid thows unhandled exception : Index was outside the bounds of the array. Steps to repeat: 1) Set datagrid's readonly = true 2) Fill your data grid with two or more rows 3) Put ...Show All
Visual Studio Express Editions Install of VB Express hangs
I have tried numerous times to install VB 2005 Express on an XP Pro SP2 system and every time it hangs during .NET Framework 2.0 installation. I even let it sit overnight thinking maybe it was just taking a long time. My system far exceeds the minimum requirements documented in the readme. I tried the following things: Disable pop-up/spyware blockers Create and boot a "clean" environment with msconfig (per the Symantec website) Safe mode Sa ...Show All
Visual C# What is Macro Substution operator (if there is any) in C# ?
Please, Help! I would like to know what is equivalent of Macro Substution operator ( '&' Vis.FoxPro) in C# In fact, I want to instantiate a (for ex. a Form ) class in a procedure getting the name of the class name with a string parameter. ex. public void StartForm(string formName) { &formName form1 = new &formName; // something like this } Thanks in adva ...Show All
Visual Studio Express Editions registratiojn benefits are....where?
I've installed and registered vs express. My confirmation email said " Accessing your registration benefits is easy. Simply go to the Registration Benefit Portal for further instructions. Your registration benefits and offers will be available starting on November 7, 2005. Check the Registration Benefit Portal regularly to access new and updated benefits. " I go there but....nothing! any ideas thanks danieldp ...Show All
Windows Forms automatically updating dataset and datagrid
Hi, I have a datagrid which is bind to a dataset. I want dataset to be updated automatically if database is updated. Is this possible or I would have to call some dataset function again and again to refresh the dataset Similarly, I also want datagrid to be updated as soon as dataset is updated. Does datagrid get updated by itself or it needs to be refreshed as well The database gets real-time values and is updated very frequently and I w ...Show All
Visual C# Dataset - 2003 code no longer works with 2005
Good day all, I have posted the snippet below. the loop is a test i just ran. The loop returns the table and the row count. When I get into the "if" statement my table object shows 0 rows. This code has worked for months in 2003. Have there been any changes with regards to the dataset object that I need to know about Or am I just missing something obvious Thanks as always. POWBL.SQL. CompleteUserDSx user ...Show All
Visual Studio Express Editions shutdown command
Is there a general code or way to have the computer shutown at certain times, like at night when it is not needed, and posibly a way for it to start up automatically. thanks Hi Averge, There is no way to do this directly from Visual Basic code - and of course, getting the computer to start up automatically would be impossible since the code can't run if the computer is shut off. As I recall there is a Wind ...Show All
Visual Studio Visual Studio 2003 uninstall
Hi, I've had Visual Studio 2003 for a while, but have now got Visual Studio 2005 Beta 2. I don't have enough space on my system drive, so I need to uninstall Visual Studio 2003. When I try, it says "Setup is unable to determine a valid ordering for the installation. See the error log for further details". I don't know where this error log is. I have tried repairing prior to uninstalling, or uninstalling the components, but I still get the same ...Show All
Visual Basic Weeknumber
How do i get the weeknumber in Visual Basic 2005 Express edition Well that doesn't work for me. There's an interesting article about this here http://www.thecodeproject.com/csharp/GregToISO.asp msg=396665 The code is in C# but shouldn't be too difficult to convert ...Show All
SQL Server database: mssql
I am conducting a database design and I managed to reach the 3rd normal form. My question is, if i change my primary key, for example '0001' to '0002', is it possible to propagate the change/update to the other linked table. if you require more info, please let me know. Thank you in advance. Hi, In addition to that. If your using sql2k you could just create a diagram and link the tables that you want in Enter ...Show All
SQL Server MSDE Connection problems
Hi All, I got a new computer and installed MSDE2000 on it. I put the SECURITYMODE=SQL in the ini file. Using the OSQL command string 'osql -SPROG200601\VSdotNET -dmaster -Usa -Ppassword' I can get to it from my computer's DOS prompt. I do not have a firewall, but when I try to access the SQLServer from my other computers on my network using the exact same string I get the message that says [DBNETLIB]SQL Server does not exist or a ...Show All
Visual Basic How do I execute a form "FORM.VB"?
How do I execute a form "FORM.VB" Michael yes great code dude iam a total newbie to thiss hehe :p is it also possible to open a forum but then not a new window well yes a new window but i can also click the other window now is there a way to open a new window and then disable the other window thanxs alot ...Show All
SQL Server Help! Transfer of database from SQL Express to SQL 2005 host environment
Help! I have been testing my system on my development PC using SQL Express. Great! Now its all working and I have 4.5Mb of data, and about 50 tables plus queries. HOW DO I GET THIS TO MY NEWLY SETUP HOST ENVIRONMENT! Argh... There seems to be no way to export from SQL Express to SQL 2005. The host company cannot restore from backup (I think this is reasonable.) What was microsofts plan here What am I missing I have searched the net, and I have ...Show All
