Click here to Skip to main content
15,910,234 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Enterprise library Pin
Johan Hakkesteegt29-Jul-09 23:57
Johan Hakkesteegt29-Jul-09 23:57 
QuestionVisual Basic 6 Equivalent to VBA Pin
C#Coudou29-Jul-09 19:37
C#Coudou29-Jul-09 19:37 
AnswerRe: Visual Basic 6 Equivalent to VBA Pin
Moreno Airoldi29-Jul-09 23:07
Moreno Airoldi29-Jul-09 23:07 
GeneralRe: Visual Basic 6 Equivalent to VBA Pin
C#Coudou30-Jul-09 14:14
C#Coudou30-Jul-09 14:14 
GeneralRe: Visual Basic 6 Equivalent to VBA Pin
Moreno Airoldi30-Jul-09 23:26
Moreno Airoldi30-Jul-09 23:26 
Questionhow to restrict loading of one form without closing another form in vb6.0 Pin
Parag Raibagkar29-Jul-09 19:30
Parag Raibagkar29-Jul-09 19:30 
AnswerRe: how to restrict loading of one form without closing another form in vb6.0 Pin
Moreno Airoldi29-Jul-09 23:10
Moreno Airoldi29-Jul-09 23:10 
QuestionExcel and forms Pin
veon cheng29-Jul-09 18:00
veon cheng29-Jul-09 18:00 
AnswerRe: Excel and forms Pin
Johan Hakkesteegt29-Jul-09 21:54
Johan Hakkesteegt29-Jul-09 21:54 
GeneralRe: Excel and forms Pin
veon cheng29-Jul-09 22:34
veon cheng29-Jul-09 22:34 
GeneralRe: Excel and forms Pin
Johan Hakkesteegt29-Jul-09 22:39
Johan Hakkesteegt29-Jul-09 22:39 
GeneralRe: Excel and forms Pin
veon cheng29-Jul-09 22:53
veon cheng29-Jul-09 22:53 
GeneralRe: Excel and forms Pin
Johan Hakkesteegt29-Jul-09 23:17
Johan Hakkesteegt29-Jul-09 23:17 
QuestionObject/Structure References [modified] Pin
Ed Hill _5_29-Jul-09 4:54
Ed Hill _5_29-Jul-09 4:54 
AnswerRe: Object/Structure References Pin
Johan Hakkesteegt29-Jul-09 21:32
Johan Hakkesteegt29-Jul-09 21:32 
GeneralRe: Object/Structure References Pin
Ed Hill _5_30-Jul-09 2:11
Ed Hill _5_30-Jul-09 2:11 
While i understand your points, the application i am working on is a product that has been in development and use for many years, and i'm quite restricted in what i can do to change where information is displayed.
I think the C++ example of what i want is something like this:

//main.cpp
#include <iostream>
#include <stdlib.h>
#include "objTest.h"

void main()
{
	int toSet = 0;
	objTest middleMan = objTest();
	middleMan.setRef(&toSet);
	middleMan.set(10);
	//pause the app before quiting
	std::cout<<toSet;
	char c;
	std::cin>>c;
}
// objTest.h
#pragma once

class objTest
{
public:
	objTest(void);
	~objTest(void);
	void setRef(int* newRef)
	{
		myVal = newRef;
	}
	void set(int newVal)
	{
		*myVal = newVal;
	}
private:
	int* myVal;
};


This is really quite simple and can be very powerful when used correctly, but i'm guessing not something that can be done in VB.
GeneralRe: Object/Structure References Pin
Johan Hakkesteegt30-Jul-09 2:38
Johan Hakkesteegt30-Jul-09 2:38 
GeneralRe: Object/Structure References Pin
Ed Hill _5_30-Jul-09 6:33
Ed Hill _5_30-Jul-09 6:33 
GeneralRe: Object/Structure References Pin
Johan Hakkesteegt30-Jul-09 21:28
Johan Hakkesteegt30-Jul-09 21:28 
AnswerRe: Object/Structure References Pin
Dave Kreskowiak30-Jul-09 2:19
mveDave Kreskowiak30-Jul-09 2:19 
AnswerRe: Object/Structure References Pin
Ed Hill _5_31-Jul-09 0:27
Ed Hill _5_31-Jul-09 0:27 
Questionhow to search for a word in a book programmatically in dot net? Pin
tadeze29-Jul-09 3:18
tadeze29-Jul-09 3:18 
AnswerRe: how to search for a word in a book programmatically in dot net? Pin
Johan Hakkesteegt29-Jul-09 3:41
Johan Hakkesteegt29-Jul-09 3:41 
QuestionFormat Number in VB 6.0 - Eg. 1 to "One", 222 to "Two Hundred and Twenty Two" Pin
CPK_201129-Jul-09 1:57
CPK_201129-Jul-09 1:57 
AnswerRe: Format Number in VB 6.0 - Eg. 1 to "One", 222 to "Two Hundred and Twenty Two" Pin
Vimalsoft(Pty) Ltd29-Jul-09 2:14
professionalVimalsoft(Pty) Ltd29-Jul-09 2:14 

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.