Click here to Skip to main content
15,891,431 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionUsing Word 2000 files from VS 2005 Pin
Richard Jones20-Jan-09 4:26
Richard Jones20-Jan-09 4:26 
AnswerRe: Using Word 2000 files from VS 2005 Pin
EliottA20-Jan-09 5:56
EliottA20-Jan-09 5:56 
GeneralRe: Using Word 2000 files from VS 2005 Pin
Richard Jones20-Jan-09 5:58
Richard Jones20-Jan-09 5:58 
GeneralRe: Using Word 2000 files from VS 2005 Pin
EliottA20-Jan-09 6:00
EliottA20-Jan-09 6:00 
QuestionProblem on insert data into Datagridview Pin
drexler_kk20-Jan-09 2:33
drexler_kk20-Jan-09 2:33 
AnswerRe: Problem on insert data into Datagridview Pin
Eddy Vluggen20-Jan-09 3:33
professionalEddy Vluggen20-Jan-09 3:33 
AnswerRe: Problem on insert data into Datagridview Pin
Dave Kreskowiak20-Jan-09 6:12
mveDave Kreskowiak20-Jan-09 6:12 
QuestionConsole application independent from .NET Framework [modified] Pin
stardust161119-Jan-09 23:31
stardust161119-Jan-09 23:31 
How should i configure a console application to be independent from .NET Framework? Can i copy all the assemblies which it references to a CD with the application itself and run it then on a computer where .NET framework isn't installed?
This is my program:

Module Module1
Public Declare Function HideConsole Lib "kernel32.dll" Alias "FreeConsole" () As Integer
Sub Main()
HideConsole()
Dim s As String
Dim procID As Integer
If My.Computer.Registry.GetValue("HKEY_CURRENT_USER\SOFTWARE\Subroutine\ENERGOMONT", _
"Installed", 1000) = "Yes" Then
s = My.Computer.Registry.GetValue("HKEY_CURRENT_USER\SOFTWARE\Subroutine\ENERGOMONT", _
"Path", 2000) & "Energomont.exe"
procID = Shell(s, AppWinStyle.NormalFocus)
Else
procID = Shell("setup.exe", AppWinStyle.NormalFocus)
End If
End Sub
End Module

It referenced only Microsoft.VisualBasic namespace in system.dll, so i copied it on the cd. That is because of shell command and appwinstyle command, but how come that "My" keyword doesn't produce any references? I found out that it requires system.win32.registry reference. Why doesn't it appear with the references list?

modified on Tuesday, January 20, 2009 5:39 AM

AnswerRe: Console application independent from .NET Framework Pin
Steven J Jowett19-Jan-09 23:36
Steven J Jowett19-Jan-09 23:36 
GeneralRe: Console application independent from .NET Framework Pin
stardust161119-Jan-09 23:42
stardust161119-Jan-09 23:42 
GeneralRe: Console application independent from .NET Framework Pin
Mycroft Holmes19-Jan-09 23:51
professionalMycroft Holmes19-Jan-09 23:51 
AnswerRe: Console application independent from .NET Framework Pin
Christian Graus20-Jan-09 2:14
protectorChristian Graus20-Jan-09 2:14 
GeneralRe: Console application independent from .NET Framework Pin
Eddy Vluggen20-Jan-09 3:26
professionalEddy Vluggen20-Jan-09 3:26 
QuestionGet Selected text of WebBrowser control Pin
Gagan.2019-Jan-09 17:37
Gagan.2019-Jan-09 17:37 
AnswerRe: Get Selected text of WebBrowser control Pin
Dave Kreskowiak20-Jan-09 2:14
mveDave Kreskowiak20-Jan-09 2:14 
QuestionSerial Communication [modified] Pin
Subjugate19-Jan-09 14:10
Subjugate19-Jan-09 14:10 
AnswerRe: Serial Communication Pin
Dave Kreskowiak20-Jan-09 2:13
mveDave Kreskowiak20-Jan-09 2:13 
GeneralRe: Serial Communication Pin
Rajesh Anuhya20-Jan-09 17:17
professionalRajesh Anuhya20-Jan-09 17:17 
GeneralRe: Serial Communication Pin
Dave Kreskowiak20-Jan-09 18:49
mveDave Kreskowiak20-Jan-09 18:49 
GeneralRe: Serial Communication Pin
Subjugate20-Jan-09 21:01
Subjugate20-Jan-09 21:01 
GeneralRe: Serial Communication Pin
Dave Kreskowiak21-Jan-09 2:07
mveDave Kreskowiak21-Jan-09 2:07 
GeneralRe: Serial Communication Pin
Subjugate22-Jan-09 16:41
Subjugate22-Jan-09 16:41 
Questionhow can made notepad application in vb6?please send me full coding of notepad application in vb6 or vb.net Pin
mohammedali200619-Jan-09 13:00
mohammedali200619-Jan-09 13:00 
AnswerCP IGNORE.... REPOST AND SPAM.... ALWAYS ASKS FOR CODE, CANT LEARN FOR... Pin
EliottA19-Jan-09 13:12
EliottA19-Jan-09 13:12 
AnswerYOU ARE A COMPLETE IDIOT. Pin
leckey19-Jan-09 15:28
leckey19-Jan-09 15:28 

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.