Answer Questions
Andre923 Can not save project with vb.net 2005
Hi, I can not save my project. I dont know how to fix it. The error: szAppName: vbexpress.exe szModname: hungapp szModver: 0.0.0.0 offset: 0000000 Win xp, sp2 Pls help. thanks Hi, - If you're opening an existing project and use Save or Save All, the changes will be saved without any notification. In this case, did Visual Basic Express really hang or you can still use it - If you're opening a new project, Visual Basic Express by default c ...Show All
Ian Wallace Datagrid OnClick to display row's data on another form2
Hi, I'm using a data adapter 'da1' to fill a dataset 'ds1' which is used to display data in a datagrid 'dg'. How do I code datagrid OnClick event on whichever row the user click on the datagrid, to cause a new form2 to popup with textboxes to display the selected row's data and allow the user to edit the data and click 'update' so it will be updated to the database. The user can alt-tab to switch to main form and select another row, the new's r ...Show All
KimMPS Array Bounds
Is there anyway to determine if an array has been dimensioned UBound(arrTest()) will give <Subscript out of range> error if the array is not dimensioned. I can always set a flag if the array is initialized but gets complicated in my application. It is do-able but just curious if there is an easier way... Thanks, KAL Even using your example I get an error: Dim arrTest() As Integer &nbs ...Show All
vvk4 REALLY Weird "Threading Problem" - Hard to explain
Hello all. I''m currently in the [process of making an audio player application that will read out MP3 tag information using the Speech library (the MS Text-To-Speech thing - like the one in control panel.) Well, I had built the application using the VB .NET 2005 Betas, and it worked fine throughout - no problems. I downloaded the final version of both the framework and VB IDE itself. I compiled & ran, and got some strange error that ...Show All
AndreasHa IP/DNS resolver
hey people out there :-) i've just started a new project i VB xpress. however i have encountered som problems: 1. none of the my.computer "info" things have anything about how to find the computers IP adress. how do i make the program show that 2: is it possible to make the computer convert a raw IP adress to a domain name/url adress sa that 999.999.999.999 can be converted to, google.com for instance and how about r ...Show All
devalapa_k Duplicating Files
This should be an easy one. Im trying to make it so you browse throguh folders select a file click ok and it copies it, like it takes justatest.xml and makes a copie and names it justatest2.xml I think this has to do with FileCopy () but i want to know how to browse. -Zenaku213 you could try using an OpenFileDialog Look at the file c ...Show All
IoPi DirectDraw7 SemiTransparency?
I have started making a game in DirectX7 and VB.Net 2005 Express, and I was wondering how to make a surface display to the screen as being a certain amount of translucency. The code I used to make the surface is: Sub LoadCDSurface() Dim ddsd As DDSURFACEDESC2 ddsd.lFlags = CONST_DDSURFACEDESCFLAGS.DDSD_CAPS Or CONST_DDSURFACEDESCFLAGS.DDSD_HEIGHT Or CONST_DDSURFACEDESCFLAGS.DDSD_WIDTH ddsd.ddsCaps.lCaps = CONST_DDSURFACE ...Show All
commerce hacker Decrypt file in VB6 that was encrypted in vb.net
I have a customer who is sending me DES encryped data that they produce via vb.net. No matter what i do, i can not unencrypt it using VB6. They are supplying a KEY and IV which seems to throw most compoents. Are there any aritcles on MS.com regards The only other way I see you being able to tackle this is having the .Net group create a decrypt app for you, however you will still need to have the framework installed...I don't believe ...Show All
rchrismor013 Word Automation
I encountered the problem described in http://support.microsoft.com/ kbid=188546 BUG: Starting Word Manually Uses Same Instance as Automation Now the KB article describes the work around for this problem being the following: Set temp = CreateObject("Word.Application") Set wrdApp = CreateObject("Word.Application") temp.Quit The problem is the note underneath the workaround: NOTE: This workaround does not work when a document is launched ...Show All
Ed Dudenhoefer - MSFT setting a system color at runtime.
I am trying to change the backcolor of a picturebox when it is clicked. I want the resulting color to be system Highlight. I can only seem to change the color to the set of of colors provided by drawing.color. Is there anyway to set the color to the system highlight color. Or any other system color for that matter. pb1.backcolor = System.Drawing. Color.Hilight thank you. After a little trial and error and searc ...Show All
Klaus Revermann DLL Hell, In VB>NET??? Using one class library in multiple controls, refrence version problems
Dear guys, I have my own class lirary (DLL) and was using it with one of my control for so long, there was no error, but then i updated the class libraryand used it in a new control,. When I opened my previous control, i got the same error , in my case it was "Warning: The dependency 'RZ_Package, Version=1.0.2312.22318, Culture=neutral' in project 'taxPayerControl' cannot be copied to the run directory because it would overwrite th ...Show All
Meghavi textbox value control
I want to write that code. but it hasn't been working. I tried this code: If Left(TextBox2.Text, 3) = "ABC001" Then ComboBox1.Enabled = False End If this code replied me " public property left() as integer has no parameters and its return type cannot be indexed " How can I do to work please help me! If Microsoft . VisualBasic . Left ( TextBox2 . Text , 3) = "ABC001" Then ComboBox1 . ...Show All
Sudeep Ghosh Get information from database
Hello I was using Visual Basic 6 and when I want to get information from a database, I write: Dim Con As New ADODB.Connection Dim rst As New ADODB.Recordset Set Con = New ADODB.Connection Set rst = New ADODB.Recordset Con.Open "Provider=MSDataShape.1;Extended Properties='Jet OLEDB:Database Password=111';Persist Security Info=False;Data Source=D:\Programs.mdb;Data Provider=MICROSOFT.JET.OLEDB.4.0" rst.ActiveConnection = C ...Show All
Atem What project type?
I want to create an application which can be run from the command line and so be run as a scheduled task, but also can be run as normal GUI app. I have done this before in VB6, but a long time ago. I am now using VS2k5 and I can't work out how to do it. I have created a console application and added forms, but they do not display properly. I have created a windows form project, but then I can only have the form as the startup object. I guess the ...Show All
Charles Wildner VB vs C#. How capable is VB compared to C#?
I need some clarification please. I am learning VB.NET right now and have a co-worker who has a very strong technical background and feels very strongly that learning VB is a "waste of time in all respects" compared to C#. I don't understand this point of view. Since VB is a .NET language does it not posses the same capabilities as C# Am I on the wrong track I really enjoy the VB.NET syntax and am picking it up quickly. ...Show All
