Click here to Skip to main content
15,900,378 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: db grid col width Pin
Paps28-Dec-04 10:54
Paps28-Dec-04 10:54 
GeneralRe: db grid col width Pin
Paps28-Dec-04 11:05
Paps28-Dec-04 11:05 
GeneralRe: db grid col width Pin
Jim Matthews9-Dec-04 2:48
Jim Matthews9-Dec-04 2:48 
GeneralRe: db grid col width Pin
Jim Matthews9-Dec-04 8:25
Jim Matthews9-Dec-04 8:25 
QuestionReturn value from modal dialog? Pin
TAlvord8-Dec-04 10:03
TAlvord8-Dec-04 10:03 
AnswerRe: Return value from modal dialog? Pin
TAlvord10-Dec-04 9:57
TAlvord10-Dec-04 9:57 
Generalpassing variables between windows forms Pin
mpiotro8-Dec-04 8:51
mpiotro8-Dec-04 8:51 
GeneralRe: passing variables between windows forms Pin
Pablo.ar8-Dec-04 9:04
Pablo.ar8-Dec-04 9:04 
I was told by the mods that this forum is primarly .Net intended, and so I feel compelled to think that you are trying to do this with it, but just in case this hasn't changed since VB6 or you are indeed doing it in VB6, this is (or should I say was) the way to do it:
Declare the variable product_code on a separate .bas 'Module' object, with the Public word, insted of the good ol' 'Dim':

Public product_code As String

in this way you can access product_code from whereever in your project (different Subs, on different Forms, Modules, Class Modules, whatever!)

Hope that helps (and that you ARE doing it in VB6!)
Cheers,
Pablo.ar
GeneralRe: passing variables between windows forms Pin
mpiotro8-Dec-04 9:14
mpiotro8-Dec-04 9:14 
GeneralRe: passing variables between windows forms Pin
Dave Kreskowiak8-Dec-04 10:28
mveDave Kreskowiak8-Dec-04 10:28 
GeneralRe: passing variables between windows forms Pin
Jim Matthews8-Dec-04 10:14
Jim Matthews8-Dec-04 10:14 
GeneralRe: passing variables between windows forms Pin
Pablo.ar8-Dec-04 14:20
Pablo.ar8-Dec-04 14:20 
GeneralRe: passing variables between windows forms Pin
Jim Matthews9-Dec-04 2:53
Jim Matthews9-Dec-04 2:53 
Generaldetecting/removing shared folders Pin
tutank738-Dec-04 7:52
tutank738-Dec-04 7:52 
GeneralPlace pictures in listview items (bigger than LargeIcons) Pin
evermood8-Dec-04 6:50
evermood8-Dec-04 6:50 
GeneralI am in Very bad position please Help (Runtime Error 430) Pin
sathiyaram8-Dec-04 6:43
sathiyaram8-Dec-04 6:43 
GeneralRe: I am in Very bad position please Help (Runtime Error 430) Pin
Peter938-Dec-04 7:04
Peter938-Dec-04 7:04 
GeneralRe: I am in Very bad position please Help (Runtime Error 430) Pin
sathiyaram8-Dec-04 20:36
sathiyaram8-Dec-04 20:36 
GeneralRe: I am in Very bad position please Help (Runtime Error 430) Pin
Peter939-Dec-04 6:36
Peter939-Dec-04 6:36 
GeneralRe: I am in Very bad position please Help (Runtime Error 430) Pin
Mekong River8-Dec-04 23:24
Mekong River8-Dec-04 23:24 
GeneralMailbox size Pin
Member 11070068-Dec-04 5:47
Member 11070068-Dec-04 5:47 
GeneralRe: Mailbox size Pin
Dave Kreskowiak8-Dec-04 7:07
mveDave Kreskowiak8-Dec-04 7:07 
GeneralRe: Mailbox size Pin
Member 11070068-Dec-04 7:10
Member 11070068-Dec-04 7:10 
GeneralRe: Mailbox size Pin
Dave Kreskowiak9-Dec-04 0:52
mveDave Kreskowiak9-Dec-04 0:52 
GeneralRe: Mailbox size Pin
Member 11070069-Dec-04 1:39
Member 11070069-Dec-04 1:39 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.