Answer Questions
Olof Harwell Confussed about Visual Basic Versions
I have trouble finding what I want on MS sites. Could some expert please tell me the following. 1) Which version is the latest for Visual Basic..... is it VB 2005 or VB Net. Or are they same with different names 2) Is VB 2005 available or just the Beta versions Where do you down load if only Beta or how do you buy VB2005. It appears that VB2005 contains .Net capability. Thanks ...Show All
OdinsBlade Socket Encoding and Decoding using Ascii Encoding
Hi All fairly new to VB .Net and have been trying to port code from vb6. I have picked up the sample application for sockets and my problem is I have a string which come come in with binary data packed as bytes i.e 10101010101001 and the bytes would appear as .>D.... .. .B..." compressed bitmap. It would now appear that I cannot see the full string I have some characters missing and when I read through the data and build a response I can ...Show All
Vbeginer.net DefaultLocation
I have developed a COM Add-in for the Office Suite. Since COM Add-in's wont use the app.config file I am storing app settings in settings.txt file which I have hard coded the path to in the application. My question is this. If during installation the user installs the application to somewhere other than the 'DefaultLocation' my app will fail on reading the settings.txt file, is there a variable I can use instead of hard coding the path that wil ...Show All
SPAD3S How to manage / call methods, procedures, forms in multiple Modules, classes, ect.?
Hello and thank for the help. I am such an amature. Can't find the right books either. I have created a windows form, and a lable array class and a sub main in a module BeamCalculation is a form Label Array is a class Calculate is a Module I am trying to run my program from the Module, I din BC as New BeamCalculation withthe hope that I can use BC throughout the module to perfor data and controlminipulation, A ...Show All
BabuKP How to access Filenames in a folder using VB Express
Under VB6, I used the File List Count control For X = 0 to File1.ListCount-1 FileName = File1.List(X) OpenFile ProcessFile CloseFile Next X How do you access individual files i ...Show All
Murtaza Zaidi writing in specific locations on screen
I am updating vb6 code which displays mathematical formulae in a picturebox. It uses currentX and currentY to keep track of positions for components of the expression on the screen. This allows it to generate a formula based on user input and which involves superscripts and powers. In one section of the code I have xco = Picture2.CurrentX   ...Show All
Jamzb Cint method problem
hi, note even and odd number get different result . Cint(2.5) = 2 Cint(3.5) = 4 Cint(4.5) = 4 Cint(5.5) = 6 ........ why this happen Be aware that 'Banker's Rounding' is not so unusual. Even the System.Convert methods such as ToInt32 use banker's rounding. David Anton www.tangiblesoftwaresolutions.com Instant C#: VB to C# Converter Instant VB: C# to VB Converter Instant C++: C# to C++ Converter Instant C++: VB ...Show All
Tianung Unsigned integers?
I'm using VB5 and I have a very basic question (no pun intended!): How can I declare an integer to be unsigned I've searched the help, but no joy. I'm using variables for map coordinates and altitude, which are all unsigned. Using signed variables (the default) causes major problems. Many thanks. Best regards, Chris While VB5 has no support for unsigned integers, VB 2005 ...Show All
yihect Hiding Parent from the grid ??
Dear Team beside the parent in the grid there is a "+" if it is pressed the details will be shown At the top right of the caption there is 2 small buttons, 1 to goback to parent, 2 to hide parent HOW to make the grid shows only the details directly without doing this steps any idea Thank you very much i'm not sure exactly what control your using but ...Show All
Frank zhou Can I use C style callback routine from VB?
I am new to .net though I used VB and VC a lot in visual studio 6. In my job I have to use VB, and there are some C style callback routine in the equipment API that I used, which can not be implemented in VB. Is there a solution about it in .net or C# or anything else Thanks a lot for any response. you can use Platform Invoke to call your equipment API from .net. here is a tutorial http://msdn.micr ...Show All
Vahidiran C# or VB ?
other than familiar syntax is there any reason to use VB instead of C# is the difference only syntax For the last couple of weeks I've seen all these statements about what VB doesn't do. What they have really amounted to, were statements from people who didn't know how to impliment something in vb. " C# is stronger in serial communications." how is this true with only differences in ...Show All
dhum11 shDocVw.dll in VB.Net 2003
Hello in there... I'm having a small problem that's eluding attempts to resolve. I'm creating HTML in BuildCreateExportFilesResults(), which I'm writing to a file on the local hard drive. I want to display it in the shDocVw.webBrowser, but I can't make it work. Here's the code: Public Sub DisplayCreateFilesResults() Try m_strMsg = "" m_strMsg = BuildCreateExportFilesResults() '<-- creates a HTML page ...Show All
Prashant Borole try-end try in a property
I get errors when I place try and/or end try either before or within the property declaration and/or the end property declaration. Is there any way of catching errors within a property or an overloaded property dennist685 Hi, You can use try---catch within propeties. using System; namespace Try { /// <summary> /// Summary description for Test. /// </summary&g ...Show All
Siraris Cannot initialize array
I'm wondering if somebody could help me resolve the infamous ""Object reference not set to an instance of an object." when I try to execute the following: I have a class like the following: <code> Partial Public Class BinaryTreeSrchCrit Private intFldNum As Integer Private strSrchValue As String Private strOperator As String Private intSrchID As Integer Private intGrpIdx As Integer Private intPropIdx1 As Integer Private intP ...Show All
Mohamed Barakat Issuer Certificate
I’m getting the " The issuer of this certificate could not be found. " error, My certificate says "Issue by Thawte Code Signing CA", Do this means that I have to get under Trusted Root Certification Authorities a Certificate that says "Issued To Thawte Code Signing CA" Thanks a lot. Under what circumstances are you using this certificate Assembly Signing or Publishing For Click Once Manifest Sig ...Show All
