Answer Questions
Bomy Dll Hell
Hello, I used to write my programs in vb6, Now our company has bought vbnet 2005 with my blessing. I was glad I could experement with my new toy. But still I have to write a dll to use on a client PC with a vb6 program . Ok I made a com class and implemented classid,interfaceId and EventsId and I used Interface to make the properties visible in my vb6 project. I haven made a snk file (why I stil don't understand), I registered the dll and tlb ...Show All
csillagyitzik Convert Java to VB
I would like to convert a Java program to VB, is it posible to do so May I know any reference about this Thanks. depending on how much code you have, you could (with a bit of time) manually do it. i know that might sound daunting but myself, being a complete nutcase, decided to make a program, initially in VBA then changed half way through to VB6. only had about 1500 lines to worry about and i got it chang ...Show All
wesd MSFlexGrid OCX license enforcement
My app has used a MSFlexGrid OCX control for many years. I cannot even say where the original OCX came from - the previous developer found it. After porting to Studio 2005 the app now complains that the OCX is not licensed (see http://forums.microsoft.com/MSDN/AddPost.aspx ForumID=29&SiteID=1) but only on certain boxes - in this case an XP box with only Studio 2005 installed. It works on WinXP and Win2k boxes with both Studio 2003 and ...Show All
Abobrix How do you repaint graphics after another form clears it?
I have created a simple example of a problem that I am having in a larger application. There are two forms and a button on the first form shows the second form using the ShowDialog method. When the second form exits (sets itself not visible) the first form writes text in a picture box saying the second form exitted. If the second form is positioned over the first form when you press the exit button, the text displayed in the picture box is cl ...Show All
Nosy Writing to a text file then changing it to read-only.
Hi. I'm pretty clearly a newbie here. I've just transitioned from 6.0 to .NET, so I'm a little bit lost. Can anyone tell me how I write to a text file in VB.NET In 6.0, I have this: Open "F:/users/alarsen/publicgames/text.txt" For Append As #1 Write #1, txt1.Text Write #1, Txt2.Text Close #1 lblanswer.Caption = Lst1.List(Int(Lst1.ListCount * Rnd)) How would I do the same in .NET For the second question, is there anyway to make it ...Show All
mcol RegularExpressionValidator in ASP.net
I want syntax for RegularExpressionValidator in ASP.net. I mean what i will write in ValidationExpression so i will get some validation List of Expression I will write this than this expression will work some like that Good post, but I need some help. Where can I find a list of all available syntax for this RegularExpressionValidator thanks Thanx for reply ...Show All
chinaboy SetPixel() - URGENT!
Hi, I am loading an 8-bpp (bit per pixel) bitmap from a file and trying to set various pixels using the SetPixel method, but no matter what I do (I also tried locking the bits), i get an InvalidOperationException - "SetPixel is not supported for images with indexed pixel formats." After some research i understand that it's not possible to use the SetPixel method in the normal way or possibly not at all for *indexed* bitmaps. If someone ...Show All
Eric Geil Loop without Do Error - End If
Hey all. Can you help What am I missing in this section of code This exact bit of code runs just fine in one 6 of my spreadsheets, but it hangs up in a spreadsheet that is pretty much identical. When I break the loop and hit debug, it goes to the End If line near the end of the code. I have changed the structure of the if statements, and then I get a Loop without Do error. I am going insane. Thanks. Sub DeleteWorthlessRows() Dim i A ...Show All
windark XML to Pipe Delimited or .tab in VB?
XML to Pipe Delimited OR .tab in VB Does anyone know how I can import a xml file & export into a Pipe Delimited or .tab file in VB Having a hard time finding any documentation on this... any help is greatly appreciated...... thanks... mniccole jacksonville beach, fl Hi, I guess will do the job Dim dbsXML As New DataSet Dim C ...Show All
LHill Running .NET Apps on a Comp without .NET
Soo... I built the executable file from my project and copied it to another computer to run. Except.... the other computer doesn't have the .NET framework installed on it. The error I get is: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~.NET Framework Initialization Error ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ To run this application, you first must install one of the following versions of the .Net Framework: v2.0.50727  ...Show All
Endre Oláh Can Classes be used to include or display UI as well or just for code and functionality
I wonder if it s good development habit to use classes to diplay and collect data from users Thanks cool, that s perfect for data issue. so how about UI logic, can I implement it in classes as well or will the regular forms do all the job without creating classes that have UI logic like ActiveX controls. Thanks Sure is. A form is a class and it collects daa from users. A form is a class as we ...Show All
Whitegirl23 Reload parent form
Hi. I'm using VS.NET 2005 Beta 2 with Visual Studio... and i need to reload a form (FORM A) when i close another form (FORM B). First... Open FORM-A. From FORM-A i open FORM-B. When FORM-B Closed then FORM-A Reload. Thanks! ;) On Form-B closed use method Form-A_Load ...Show All
ultra2 Web Application - XML
Hello, I would like to know how to read a XML with an web application..... (the client needs to upload it and after that I need to fill a dataset with it..Needs to be in VB.NET Does anyone has an example Thanks ...Show All
Michael Lowe Filling text box with KeyUp strokes
I'm trying to get the keyboard letter values to appear in a textbox as the user types, but I get some other values that don't make sense. Here's my code: Private Sub txtRootPath_KeyUp( ByVal sender As Object , ByVal e As System.Windows.Forms.KeyEventArgs) Handles txtRootPath.KeyUp Dim newKey As String Dim sPath As String = txtRootPath.Text & e.KeyCode.ToString lblPath.Text = Path.Combine(sPath, txtHTM ...Show All
AndrewKnight Controls Flickering when drawed on the form
Hello there :) This was a Problem in Visual Basic 2003 when having a Form with about 150 Controls the form simply consists of panels and those panels have Labels and controls beside hem the form itself has a background picture ,,, the Panels also have backimages the Problem is when the form is shown the controls are being drawn really slow ... (the form is 1024*768) that wasn't a Problem at all back in VB6 anyway I saw that Visual Basic 2005 has ...Show All
