Click here to Skip to main content
15,915,702 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 
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 
ok, i've got this all working now, i had to do something that i'm not massivly proud of, and i know its not very VB in its workings but here goes, just incase any one is in a similar situation. The issue i was having was that the reference in the structure would change to point at the newly created control, insted of pointing the class level object to point to the new control. I'm aware this is how things are designed to work, just lacks the ability to tell it how i want it working.

So i wrapped the control in a class, like so.
Class uscHolder
    Public ctrl As UserControl
    Public Sub New()
        ctrl = Nothing
    End Sub
End Class

That way the structure will not change its reference to the new object, that will always point at the class level object. That way setting the usercontrol in the wrapper class is applied every where.

Thanks agian for all the pointers, once i have a problem in my mind though even if its not the solution i use in the long run it will bug me untill i can think up a solution. When coding nothing should ever be impossible is a mindset i'm stuck with.
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.