Click here to Skip to main content
15,886,919 members
Home / Discussions / Visual Basic
   

Visual Basic

 
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 
AnswerRe: Format Number in VB 6.0 - Eg. 1 to "One", 222 to "Two Hundred and Twenty Two" Pin
Tim Carmichael29-Jul-09 2:54
Tim Carmichael29-Jul-09 2:54 
AnswerRe: Format Number in VB 6.0 - Eg. 1 to "One", 222 to "Two Hundred and Twenty Two" Pin
Dave Kreskowiak29-Jul-09 3:54
mveDave Kreskowiak29-Jul-09 3:54 
AnswerRe: Format Number in VB 6.0 - Eg. 1 to "One", 222 to "Two Hundred and Twenty Two" Pin
Christian Graus29-Jul-09 10:51
protectorChristian Graus29-Jul-09 10:51 
QuestionHolding collections in memory, good or bad idea? Pin
Jay Royall28-Jul-09 22:34
Jay Royall28-Jul-09 22:34 
AnswerRe: Holding collections in memory, good or bad idea? Pin
Mycroft Holmes28-Jul-09 23:32
professionalMycroft Holmes28-Jul-09 23:32 
GeneralRe: Holding collections in memory, good or bad idea? Pin
Jay Royall28-Jul-09 23:40
Jay Royall28-Jul-09 23:40 
GeneralRe: Holding collections in memory, good or bad idea? Pin
Ed Hill _5_29-Jul-09 5:05
Ed Hill _5_29-Jul-09 5:05 
GeneralRe: Holding collections in memory, good or bad idea? Pin
Jay Royall29-Jul-09 5:15
Jay Royall29-Jul-09 5:15 

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.