Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
 
  HOME    TRACKER    Visual Basic




[Solved]Visual Basic && Visual Basic.net


Wat is the difference between Visual Basic & Visual Basic.net?

I just dont understand.....are they 2 different programming languages? Are they related to each other?
Do they both need the Ms Visual Basic software to develop?.....
Which is more powerful & which is better for beginners?
What is there in Vb.net thats not there in VB....?
pls help me out with this...




View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread
SQL And Visual Basic [Solved]
does anybody know if...

1) ... you can return a string value form a SQL Server to a visual app?

2) ... you can and how to execute and use a procedure in a store view?

thanks

WM_SETTEXT Ignored By Visual Basic [SOLVED]
Hi Visual Basic Forums! First, let me introduce myself, since this is my first post here : D. My name is Axonn Echysttas and I'm a young (21 years old) programmer in Visual Basic, Visual C++ and C#. I got a very frustrasting (yet challenging) issue with a Visual Basic Application. My problem is that I send a WM_SETTEXT messages to my VB Application, and I can't catch them inside the code, even though I correctly subclassed the window and I'm catching every other message.

If I send the WM_SETTEXT from Visual Basic, I'm catching the message, if I send it from my Visual C++ DLL, I don't.

However, sending WM_USER from both Visual Basic and the Visual C++ DLL works. But my issue is that I want WM_SETTEXT to work : (.

Here is my code.

In my main form:

VB Code:
If loOriginalWindowProcedureAddress = 0 ThenloOriginalWindowProcedureAddress = SetWindowLong(frmMain.hWnd, GWL_WNDPROC, AddressOf ASDWndProc)   SendMessage Me.hWnd, WM_USER + 9, vbNull, "Testing how WM_USER works from Visual Basic. It works fine."   SendMessage Me.hWnd, WM_SETTEXT, vbNull, "Testing how WM_SETTEXT works from Visual Basic. It works fine."


In a module:

VB Code:
Public Const WM_SETTEXT As Long = &HCPublic Const WM_USER As Long = &H400Public loOriginalWindowProcedureAddress As Long Public Function ASDWndProc(ByVal hWnd As Long, ByVal uMsg As Long, ByValwParam As Long, ByVal lParam As Long) As LongDim sString As String     If uMsg = WM_SETTEXT Then        CopyMemory sString, lParam, Len(lParam)        MsgBox sString, vbInformation + vbSystemModal, "This does not work,except when I'm Sending the message from the VB Application"        Exit Function    End If     If uMsg = WM_USER + 9 Then        MsgBox "This works", vbInformation + vbSystemModal, "Strange"        Exit Function    End If    ASDWndProc = CallWindowProc(loOriginalWindowProcedureAddress, hWnd, uMsg,wParam, lParam)End Function

As for how I'm calling the SendMessage function from Visual C++, here's the answer:


Code:
SendMessage(hwndVisualBasicApplicationWindow, WM_SETTEXT, 0, *"Test");
SendMessage(hwndVisualBasicApplicationWindow, WM_SETTEXT, 0, *"Test");


Kind of the same thing, except that I'm using a pointer because this is how C++ requires. I tried with both variants. Null terminated string and normal string. Nothing works! The message doesn't even get caught in the subclassed window procedure that I defined. Very frustrating : (.

Thank you for your help!

Word And Visual Basic [ How Can I Get The Save As Window Through Visual Basic? ]
Hi, I made a small program in visual basic that with the use of

Dim oWord as new word.application
Dim oDoc as new word.document

fills a document with some data from the visual basic.
I want when those data are loaded in word the save or save as window to appear.
The command oDoc.saveAs saves the document without even asking for a filename.

What Can I do?

How Do I Run A Program I Made In Visual Basic On A Computer Without Visual Basic?
I created a program in Visual Basic and I was curious at what I needed to do to be able to install or use this program on a computer without Visual Basic. Any help would be great! Thanks in advance.

Extracting Visual Basic Source Code From Visual Basic EXE
hi everyone,

Well actually the problem in my case is that i had mad an EXE in VB6 around a week ago and had stored the EXE and th source code in two diferent folders. By mistake somebody ha deleted the source code folder. I wanted to make some changes i the EXE code and Now i have only the EXE folder to deal with.

Is there any method by which i can extract the Visual Basic cod from the VB EXE. Is there any application or software which ca help me in this? Do give me the hyperlink for downloading th EXE for the extraction if possible.

Please let me know at the earliest.

Thanks in advance.

Ankit

Passing An Array From VC++ To Visual Basic [SOLVED]
Hi everybody. Long time, no postin'. I've been working at an article about Inter-Process communication that I also intend to post here when finished ::- ). However, I do have one last issue to solve. A quite difficult issue. I want to pass an array from VC++ to VB. From VB to VC++ I made it work quite easy, but I am having trouble doing it the other way around.

As I learned, Visual Basic works with array using SAFEARRAYs. Now. For example, to call a VB function from a VC++ DLL you gotta do this:


VB Code:
//Using the extNumberProc variable, which is a pointer to the VB function for Numbers, calling//that function and passing to it the value received as parameter.void CallVBFunctionForNumber (long lSomeValueToSend){    typedef void (__stdcall *OutsideFunction)(long AValue); //Defining the prototype of the function.    OutsideFunction FunctionCall; //Creating an instance that will be used to call the function.    FunctionCall = (OutsideFunction)extNumberProc; //Assigning the address to be used for the call.    FunctionCall(lSomeValueToSend); //Calling the function with the parameter.}


extNumberProc is an address which was previously received from VB. To call that function all you gotta do in VC++ is this:


VB Code:
CallVBFunctionForNumber(20);


And now here's the function for calling a function from Visual Basic which should accept an array. First, here's the VB function.


VB Code:
'FUNCTION CALLED FROM THE VC++ DLL.Public Sub ArrayDemoFunction(ByRef Something As Variant) MsgBox Something(2)End Sub


and the VC++ function


VB Code:
//Using the extArrayProc variable, which is a pointer to the VB function for Arrays, calling//that function and passing to it a locally created array.void CallVBFunctionForArray (){    typedef void (__stdcall *OutsideFunction)(VARIANT *AValue); //Same as above, creating a function    OutsideFunction FunctionCall; //prototype, instantiating it, and linking it to the real VB    FunctionCall = (OutsideFunction)extArrayProc; //function by doing this cast.     VARIANT *pVariant = NULL; //A variant typed pointer.    SAFEARRAY *sarrVC; //The safe array.    SAFEARRAYBOUND sabBound = { 10, 0 }; //Its bounds.     VariantInit (pVariant); //Initializing.    pVariant->vt = VT_ARRAY | VT_I4; //Setting the type of the variant.    sarrVC = SafeArrayCreate(VT_I4, 1, &sabBound); //Creating the safe array.    for (long iCounter = 0; iCounter < 10; iCounter++) //Inserting data in the array.        SafeArrayPutElement(sarrVC, &iCounter, &iCounter);  pVariant->parray = sarrVC; //Setting the data of the variant.    FunctionCall(pVariant); //Calling the VB function (crashes).}


Executing the above VC++ function works, until calling the VB function. When that happens, everything comes crashing down with an "Unhandled exception in Testapp.exe (OLEAUT32.DLL): 0xC00000005: Access Violation.".

For your reference, here's an article which I used to create the code:
http://www.microsoft.com/msj/0599/wi...icked0599.aspx

So... ideas anybody? ::- )

Error Loading Visual Basic...[SOLVED!]
I'm having a problem loading VB 6. When I start the program up (by clicking a shortcut to the VB6.exe file), the VB splash screen shows, and then the dialog box that allows you to choose a file to open, quickly appears for less than 1/2 a second and then disappears. I am then prevented from clicking anywhere within the program and I have to "End Task" the program. I think I may have checked the checkbox on that main dialog box that says "Do not show this screen in the future". I'm thinking this is my problem. I couldn't find a registry setting or an ini file that referenced this option.

I've tried looking in Tools > Options > Environment Tab and checking the "Prompt for Project", but it didn't work, in fact it was already selected.

Anyone have an idea on how to get the dialog box to appear again? I'm thinking there has to be a setting in the registry for this. I'm desperate for help because I can't add additional projects to any project I'm working on!

Thanks,
Brian

Problem Solved : Now Convert Delphi To Visual Basic
Hi,

I have came to this site with the same problem for a long time now, and due to the fact that I never came upon a real solution, I solved the problem in the language that I use, which is Borland Delphi and now just want to convert the code, that works fine, to do the same in Visual Basic.

Just in short:

The program that I am developing in Visual Basic (I am new to the language) is a speech recognition program. TextBox 1 gives the user some text to read and the same text is displayed in a ListBox (beneath each other). When the user read the text of TextBox1, thru a microphone, it is displayed in Textbox2. After the user have finished reading the text in TextBox1, the user click on a Calculate button and a percentage is given of how accurate the text of TextBox1, compares to the text in ListBox1.

The code below does the following:

·TextBox1 = masterstring. TextBox2 = teststring
·Each word in the masterstring is searched for in the teststring. When extra words are contained in the teststring, it is ignored. The order in which the words appear does not matter, just if the word exists.
·When a word is found in the teststring, it are removed form the teststring to make sure that the same word (that could appear again later) in the masterstring, are not compared several times with the first occurrence in the teststring.

Please – I hope this would help you all understand what is going on. Here is the code that I have developed in Borland Delphi, but I need some help to do the same in Visual basic – to use the same Algorithm:

}
procedure TfrmTextCompare.btbtnCalculateClick(Sender: TObject);
var s1, s2 : String;
i, iStart, iPos : Integer;
iFound : Integer;
sWord : String;
begin
//Extract words from s1 and put them into listbox
s1 := Copy(mString1.Text,1,Length(mString1.Text)-2) + ' ';
lstString1.Clear;
i := 1;
iStart := 0;
while i <= Length(s1) do
begin
if (s1[i] <> ' ') and (s1[i+1] = ' ') then //end of word
lstString1.Items.Add(Trim(Copy(s1,iStart,i-iStart+1)))
else
if (s1[i] = ' ') and (s1[i+1] <> ' ') then //start of word
iStart := i+1;
Inc(i);
end;

//Search for individual words in list box (master string) in the test string
iFound := 0;
s2 := ' ' + Copy(mString2.Text,1,Length(mString2.Text)-2) + ' ';

//Step through words in master string
for i := 0 to lstString1.Items.Count-1 do
begin
//Ensure that we don't find partial words, e.g. "is" inside "disappear"
sWord := ' '+ lstString1.Items[i] + ' ';

//Determine if word occurs in the test string
iPos := (sWord,s2);
if iPos > 0 then
begin
//Remove word form test string so that it is not used for
// subsequent occurrences of word in master string
Delete(s2,iPos+1,Length(lstString1.Items[i]));
Inc(iFound);
end
end;

//Display results
lblRemainder.Caption := s2;
lblWordsInList1.Caption := 'Words in list 1: ' + IntToStr(lstString1.Items.Count);
lblFound.Caption := 'Found: ' + IntToStr(iFound);
lblPercentage.Caption := 'Percentage: ' + FloatToStrF((iFound)*100/lstString1.Items.Count,ffFixed,8,2);

end;

Visual Basic 6.0 Drag And Drop Question (Solved)
I was hoping there was a better way to drag and drop. I am dragging a Picturebox from Frame to Frame in my program. It needs to be positioned well but it takes a rather large movement for the picturebox to move. I was hoping there was a way for it to move in much smaller jumps. For the drag all im using is Picturebox.Drag (1). After i played around with the code some i have it the way i want it to move in just 2 directions, in the other 2 directions it takes twice as much of a jump to move it. Picturebox.Top = Y
Picturebox.Left = X, Would be very happy if anyone could lend me a hint to have it move better, thanks alot.

Is Visual Basic Script As Ubset Of Visual Basic
Hello

Is visual basic script a subset of Visual Basic code?

Visual Basic Items Removed From Visual Basic.NET
A while ago (maybe up to a year) I had found a web page (probably a Microsoft MVP's home age) that had a list of about 100 things that were removed from Visual Basic in the transition to Visual Basic.NET. As it is, I would like to look at that again, but I can't seem to find it on my computer. Does anyone remember this page and/or have a copy of the link or the file that was on it. It has particular things like Debug.Print is no longer valid and MsgBox function is not supported. I've look on Microsoft's website and found a great deal of information about implementation difference, but I can't seem to locate this particular piece. If anyone could help I would appreciate it very much.

Thanks in Advnance

Nick August

Fwd: How To Disable Basic Functionality Of Back Space & Delete Key In Visual Basic
<html><div style='background-color:'><DIV>
<P><BR><BR><!-- END YOUR MAIL MESSAGE BEFORE THIS LINE--><BR></P></DIV>
<P><A href="http://www.flamingtext.com/hmail.html" target=_top><IMG alt="Image by FlamingText.com" src="http://hmail.flamingtext.com/hmail/2003/07/02/ flamingtext_com_1057144048_20660.gif" border=0></A> <BR><BR>
<DIV>Try to use API's i am sure u will get ur problem</DIV></P>>Hi all
<DIV></DIV>>
<DIV></DIV>>
<DIV></DIV>> can any one tell how to disable back space & delete keys in perticular
<DIV></DIV>>text box.
<DIV></DIV>>
<DIV></DIV>>thanks & regards,
<DIV></DIV>>Sridhar cs
<DIV></DIV>>
<DIV></DIV>>
<DIV></DIV>>
<DIV></DIV>>*Archives: http://www.OpenITx.com/g/visualbasic-l.asp
<DIV></DIV>>*Manage Subscriptions: http://My.ITtoolbox.com
<DIV></DIV>>*Leave Group: mailto:leave-visualbasic-l@openitx.com
<DIV></DIV>>*Questions: mailto: email@removed
<DIV></DIV>>*Terms of Use: http://www.ittoolbox.com/help/termsofuse.htm
<DIV></DIV>>*Copyright (c) ITtoolbox and message author. No redistribution.
<DIV></DIV>>
<DIV></DIV></div><br clear=all><hr>Add photos to your messages with <a href="http://g.msn.com/8HMTEN/2749??PS=">MSN 8. </a> Get 2 months FREE*.</html>

How To Disable Basic Functionality Of Back Space & Delete Key In Visual Basic
Hi all



can any one tell how to disable back space & delete keys in perticular
text box.

thanks & regards,
Sridhar cs

Code Change From Visual Basic.net - Visual Studio 2005
I am working on a tuturial that i have for Visual basic.net ( for now )

I am working with Visual Studio 2005.

I have been working on a code to change the text color by the name put into
the text box.

Visual Basic .Net code.
Label2.ForeColor = Color.FromName(TextBox1.Text)

i get the error
Name 'Color' is not declared.

I was wondering if someone can show me how things would be in Visual Studio.

thank you

Difference Between Visual Basic And Visual Basic.net
visual basic and visual basic.net?
i am very new to programming, and i was wondering if someone could explain the difference between visual basic and visual basic.net. i Know this may be a silly question to ask, but if i dont i will never find out.
i am designing a system for a chinese restaurant, hopefully i hope create it in Visual basic.
if anyone can help, i would be grateful.

What Are Advantages Of Visual Basic .net Over Visual Basic 6.0?
I am thinking of installing Visual Basic.net (standard version) in place of Visual Basic 6.0. I dont know what are the disadvantages of it and I am hesitating to do that. I thought that I should ask the forum before making this decisions.

Would someone help me to know the followings.
1. If I install VB.net, and if I do programming in VB.net, will I be able to run it in Visual Basic 6.0?

2. Can I do everything that I do in Visual Basic 6 in Visual Basic .net?

3. Are there things that I can do in Visual Basic . net which can not be done in Visual Basic 6.0?

4. Would you recommend Visual Basic.net in place of Visual Basic 6.0?

Thanks in advance.

Upgrading From Visual Basic 3 To Visual Basic 6
Has anyone upgrade a project from VB3 to VB6?

What Is The Different Between Visual Basic And Visual Basic Access?
hey!

actually i'm going to do a database to track student attendance, where the student need to scan their student ID card.

which software is suitable for me? Visual basic or Visual basic access?

actually what is the different between these two?

can anyone explain to me?

Upgrading From Visual Basic 3 To Visual Basic 6
<html><div style='background-color:'><DIV>
<P><BR><BR></P>
<DIV>
<DIV></DIV>
<P>Is it possible to upgrade a project from VB 3 to VB 6?</P></DIV>
<P>Avi Manor<BR><BR></P><BR><BR><BR></DIV>
<DIV> </DIV>
<DIV></DIV>
<DIV></DIV></div><br clear=all><hr>Get your FREE download of MSN Explorer at <a href='http://go.msn.com/bql/hmtag_itl_EN.asp'>http: //explorer.msn.com</a><br></html>

Visual Basic 6 To Visual Basic 5 Conversion
What has to be done to the files in a VB6 project to get it to run on VB5CCE?

DLL Visual Basic 6 On EMbedded Visual Basic 3.0
Hello Friends, as I can create a DLL for embedded. or as I can have something similar to FileListBox of VB6, I want to recover the archives that are in a directory in individual.




Hola Amigos, como puedo crear una DLL para embedded.

o bien como puedo tener algo parecido a FileListBox de VB6, quiero recuperar los archivos que se encuentran en un directorio en particular.

Basic Question On Visual Basic (counting Rows)
Hi friends,
i'm a novice of VBA. I'm trying to write a sub that needs to count the rows of my sheet.
I't seeems there's no way to understand automatically how many rows/columns are used in a sheet.

Can you help me, plzs?

URGENT Help Required Basic Visual Basic Code
How do I bring up records from a list box??? this is what I have so far of my programming...


Option Explicit
Dim FileName As String

Private Sub cmdAddFileWrite_Click()
Dim Name As String
Dim Age As String
Dim DOB As String


Name = txtName.Text
DOB = txtDOB.Text
Age = txtAge.Text

Open FileName For Append As #1
Write #1, Name, DOB, Age
Close #1
txtName.Text = ""
txtDOB.Text = ""
txtAge.Text = ""
txtName.SetFocus
End Sub

Private Sub cmdDisplay_Click()
Dim DataToDisplay As String
Dim Name As String
Dim Age As String
Dim DOB As String

Open FileName For Input As #1
lstdisplay.Clear
Do While Not EOF(1)
Input #1, Name, DOB, Age
lstdisplay.AddItem Name

Loop
Close #1
End Sub

Private Sub Form_Load()
FileName = App.Path & "AddPlayer.txt"
End Sub


That is wha I have so far I mean I have a list box there where it displays the data that has been inputted, now how do I get that to link up wit a record something to do with a module?

Basic Question About Excel Macros And Visual Basic
I have a macro in Excel that takes some input on data ranges and produces charts based on the input. I want to place those charts (a number of them are generated) at a certain point in my excel worksheet. I know I can nudge it over by a certain amount but I can never tell where Excel will place them so I would like to just say "hey chart, sit here". Being able to do that in relation to cells would be great. Also, I would like to know if there is any way to resize the chart without using the percent. Once again, in realtion to cells would be great. Thanks for your help.

Apply Windows Visual Themes From Visual Basic?
I am moderately new a visual basic - i know quit a bit - but not as much as some people - was just wondering - is it possible to make a visual basic program that applies a windows visual style - if so - how?

Data Type Conversion From Visual C++ To Visual Basic
I'm trying to convert some code from Visual C++ to Visual Basic. There are some types, however, that I cannot seem to figure out what they should be. The C++ types are dpecifically WORD and DWORD. What should they be in Visual Basic? I thought DWORD is a Long, but I have no idea what a WORD would be. Specifically, I'm determining the types from the BITMAPINFOHEADER structure.

Microsoft Visual Studio 6/Visual Basic 6 Sp6 RELEASED!!!!
Microsoft released Service Pack 6 for Visual Studio 6, download the latest(and final) service pack if you have VS6/VB6 installed.

Official Page
Official Page of sp6

List of Fixes
See the fixes from sp4 and sp5

Direct Download
Click here to download it (About 62mb)



Download it, it has many fixes included!



As BrianS told me: VB6 SP6, its only 26mb and VB Runtimes sp6 its only 1.02mb


Enjoy the new service pack! It is the LAST!!!!!

Linking To DLL's Created In Visual Studio From Visual Basic
Can anyone give me some usefull tips or links on how to link to routines writen in C++ from Visual Basic

I am aware of the

Declare Function CloseHandle Lib "testdll.dll" (ByVal hObject As Long) As Long

type notation, but I am curious on what I have to do with my DLL to allow this notation to work.

Any suggestions or links would be a great help, thanks!!!

Visual Basic Development && The Visual C++ Shared Objects
I having a really irritating problem. I'm developing an Add-in in Visual Basic... however, to do the development I'm doing, I require the "Visual C++ shared Objects" reference to be added to the project.

Here in lies the problem. I also need the VB command left [as in left string copy - ie. left("aaaaa", 2)] The only problem is that by adding the "Visual C++ shared Objects" reference, the LEFT command is overridden with the C++ version which returns a long (or something like that).

In the References window, I've already set "Visual C++ shared Objects" to the lowest possible priority... is there anyway to get around this arrangement?

Thanks in advance,
Bishop

How To Access Visual FoxPro Data In Visual Basic
I have a problem :(

I would like do delete a record in FoxPro data base with Visual Basic 6

I use ODBC kuhinja:

Const povezava = "Provider=MSDASQL.1; Persist Security Info=False; Data Source=kuhinja"

adott1.ConnectionString = povezava
adott2.ConnectionString = povezava

adott2.RecordSource = "SELECT sifra,grupa,naziv,nabavna,vpc " _
& "FROM izdelki "
adott2.Refresh

to view data in datagrid

I delete a record :

adott1.RecordSource = "SELECT * " _
& " FROM izdelki " _
& " WHERE sifra='" & adott2.Recordset!sifra & "'"
adott1.Refresh

Record is marked in FoxPro as deleted ( not yet PACK ) but in Visual Basic datagrid (adott2.refersh ) record is still in it.

How can i execute PACK in Visual Basic????

THX

sorry for bad english :)

Dumb Question About Visual Basic / Visual Studio...
From someone who has been programming as long as I have, this has got to be a dumb (DUH!!!) question.  But if I don't get it answered, I'm going to continue to run around in circles.  The problem stems from what appears to be a simple name change, and the fact that I only upgrade my software infrastructure here every few years, so I miss what's going on.

VB6 appears to be the last (terminating) version of Visual Basic.  There will be no VB7.  But, clearly, the language itself is not being terminated -- just called something else, or is being "assimilated" (resistance is futile) or absorbed into a larger platform, losing its identity as a stand-alone programming environment.

How does Visual Studio relate to Visual Basic?  Is the "next generation" version of Visual Basic now being called Visual Basic.NET?  Is VB.NET part of Visual Studio?  If I get Visual Studio, is VB.NET automatically part of that package?  Or is Visual Studio one thing, and VB.NET something else entirely, ordered as two separate things?  If I want to keep programming in VB (as a programming language/environment), do I now have to get Visual Studio instead?

Sorry to bother the more enlightened souls here with a DUH question -- but I gotta ask SOMEBODY...

Thanks.  You folks have been a GREAT help here.

I Want To Make An OCX By Visual Basic But Also Compatible With Visual C And Delphi If Can!
I created an OCX using Visual Basic 6.0 is there some way to make it work in another programming languages like Visual C or Delphi?

Compairing Visual Basic && Real Basic
The thing is, I don't have Visual Basic on my computer (I use a Mac). But I do think I have Real Basic.

I'm just asking how similar or different VB and RB are. More specifically, how much can I apply tutorials for VB to the RB environment?

Thanx

Real Basic/visual Basic? Im A Mac User, Which Is Which?
hello, i use a iMac G3, i have Real Basic and i have just found out about this Visual Basic btu what i know it just sounds like a cheap copy of Real Basic, no offence, are these programs pretty much the same?

Visual Basic And Visual C++ Sharing File
I was wondering how do I access the log file and take its content i.e. numbers into Visual C++ while continuously writing the log file in Visual Basic?

Is the function like Openshare help or is there another way?

Thanks

Can Pass Arguments Between Visual Basic To Visual C ++?
hi

i have a qn...can i pass argument such as filename, value between visual basic and visual c++ and vice versa.

if yes, what are some of the api i could look into and use? shell?

Thank YOu!!!

Visual Basic Versus Visual C Performance
Hi people :

A question that many of us make to ourselves. I´ve not received a convinced answer.

I´ve heard already thousand times that programs writen in C run "better" and "faster" than programs written in Basic. The same for Visual C against Visual Basic.
Even Visual C has better press than Visual Basic, I mean, a commercial software written in C seems to be "stronger" than a commercial program written in Visual Basic.
I understand that programs can be well written or not so well, no matter which language is used, but I´m talking of well written programs, in both languages.

But, what is the truth behind all this.
Suppose a program that works in a network.
The program will use the winsock that comes with Windows, no matter if the program was written in Visual C, Visual Basic or whatever language the programer is using.
Let´s supposed that that asumption is true, that means that the Visual Basic program does things in a slower way than the one in Visual C, so, the Visual Basic compiler is charging our code with processor instructions to do nothing.

I´m not a Visual C programer. I think that I write optimized code in Visual Basic.

I will appreciate comments.

Visual Basic/Visual Sourcesafe Problem
Having a problem at work with sourcesafe and vb 6. I have one computer here that for some reason after using SourceSafe to grab the newest version of code from the server and copying it to the local machine, it prompts with a save as dialog box when trying to save (want it to save to the local machine, will update sourcesafe copy later).

Any ideas? I have the following from MS, but this happens only on one machine and we don't use ActiveX Controls

Q223128 - FIX: Problems Saving Visual Basic Form to Visual SourceSafe

Compiling Visual Basic In Visual Studio?
Hello all,

I'm not sure if this is a dumb question or not, but can you compile visual basic code in Visual Studio? Do I need a Visual Basic IDE? Thanks!

Visual Basic && Visual SourceSafe Offsite
Hello,

Do you recommend any configuration solutions to use Visual SourceSafe offsite in Visual Basic? My team in Korea is going to collaborate with the India team, and I hope there's a simple solution for that.

Thanks,

Justin

Combining Visual Basic And Visual C++ Code
I need to embed C++ code in my Visual Basic project without using a DLL.
I understand it's something to do with the linking process and it is described here:

http://www.devx.com/upload/registere...199/jc1199.asp

However, I don't seem to have the 'Compile Controller' add-in that it talks about. Can anyone tell me either where I can find this add-in or how I can embed a C++ function in a VB project

Visual Basic 6 && Visual Styles: The Story
Ok... I've got Windows XP... great OS... I've got XP SKins... great Program... and I've got Visual Basic 6... great IDE... so I thinked... what about giving my applications Visual Styles Support?

So I did it, I've added Visual Styles to VB 6 and to my application and... IT WORKED!!! I had the cool XP Buttons and Checkboxes... GREAT!!! I tried Tabs too!!! They worked... frames worked too!!! But after two days my application started to play the Critical Error sound...

I tried to do another application with simpler things... and after a lot of experiments I've discovered that with standard controls (Buttons, Option Buttons, Check Boxes...) the application doesn't work and with other ones... it works! I tried everything from upgrading to using UxTheme.dll... So now I just talk about it with other people... hoping to find someone able to explain me WHY does my application worked once

Thanks for reading the whole thing

Newby : Visual Basic And Visual Studio
Hello,
I'm new at this group .
I used to program with Sybase Powerbuilder tool .
I want to learn VB and have to buy the development tool .
Wondering what the difference is between VB and Visual studio .
I want to make programs that will be able to go on the net and use databases . Programs like stockmanagement over the net , etc ...

Witch program do I have to buy to start ?

Thanks for any info .

Ronnie

Visual Basic Or Dark Basic?
I have just started and i find visual basic to be the route i ahve taken, but i was wondering if anyone had any opinions on dark basic?>

Some Really Basic Visual Basic Questions
Hey all,

...I'm stressing the really here. Reading through some of these topics, it looks like you guys are all really advanced in this program.

I, on the other hand, am a complete VB newbie who needs to hand in a stupid project for calculus class tomorrow.

Long story short, we need to create a basic job application, about five or six forms long.

I have no idea how to code the buttons that I'm using. I need to make one command button send the user to the next form, and I need to make another exit out of the project entirely.

How would I go about doing this?

Thanks!

Very Basic Visual Basic Problem
Hi, it's basic alright, and it's driving me mad.
I was given the disk by a friend who has moved abroad and I can't contact her.
I am very keen to learn how to use it and currently know nothing, well almost.

So I have been on a tutorial website and produced and calculator,which I am proud of though I don't yet know how to make it calculate.

Instructions on website....."If you are satisfied with the appearance, go ahead to save the project. At the same time, you should also save the file that contains your form.

so I save the project named calculator, and cannot see how to save "form"

when I check folder where it was saved there is a form file and a project file saved.

when i try to open it again to do more work a message box pops up stating that file could not be loaded - giving no reason.
The options open to me are "ok" and "help"
if I click help a message box tells me that "the MSDN collection does not exist. Please reinstall MSDN".
I have tried to do this but my computer cannot find it on the disk.
If I click on "ok" the box disappears and I am no further forward.

I am sure that I must be making a very basic mistake.

Version in use is VB6 Pro. clearly not safe in my hands.

any very simple clear advice to a complete novice would be greatly appreciated.

thankyou very much

John

Power Basic VS Visual Basic
Anyone here uses Power Basic?
Is it any better than Visual Basic?


Power Basic can produce EXEs with no runtime dlls.
Power Basic provides 30+ standard controls.
http://www.powerbasic.com/products/pbforms/default.asp

It is said to produce extremely fast-running EXEs.



Any thoughts?

The Most Basic Of Visual Basic Questions
Can someone give me a code example of how to get from one form to another . . . (Hey, I'm a total newbie, what can I say?)


mikeycorn

Copyright © 2005-08 www.BigResource.com, All rights reserved