Click here to Skip to main content
15,892,965 members
Home / Discussions / Visual Basic
   

Visual Basic

 
SuggestionRe: Error Converting data type vachar to numeric Pin
Richard MacCutchan22-Oct-13 1:54
mveRichard MacCutchan22-Oct-13 1:54 
GeneralRe: Error Converting data type vachar to numeric Pin
Member 1019283522-Oct-13 21:37
Member 1019283522-Oct-13 21:37 
Questionis it possible to have a duplicate uuid generated in vb.net? Pin
hansoctantan22-Oct-13 0:01
professionalhansoctantan22-Oct-13 0:01 
AnswerRe: is it possible to have a duplicate uuid generated in vb.net? Pin
Eddy Vluggen22-Oct-13 0:16
professionalEddy Vluggen22-Oct-13 0:16 
AnswerRe: is it possible to have a duplicate uuid generated in vb.net? Pin
Marco Bertschi22-Oct-13 1:29
protectorMarco Bertschi22-Oct-13 1:29 
GeneralRe: is it possible to have a duplicate uuid generated in vb.net? Pin
Richard Deeming22-Oct-13 1:57
mveRichard Deeming22-Oct-13 1:57 
GeneralRe: is it possible to have a duplicate uuid generated in vb.net? Pin
Marco Bertschi22-Oct-13 2:02
protectorMarco Bertschi22-Oct-13 2:02 
GeneralTrouble with Shell and Sendkeys Pin
Member 1034848620-Oct-13 19:45
Member 1034848620-Oct-13 19:45 
What was working well on Windows NT 4 does not work on Windows XP. What am I doing wrong? It starts Paint in a new window with the correct file, but the keys do not get sent to it.

VB
Dim PaintCommand As String, PaintPath As String

    Call PaintDir(PaintPath)
    PaintCommand = PaintPath & "MSPAINT.EXE " & Filename1

    If InStr(PaintPath, "WINNT") Then
        Xnothing = Shell(PaintCommand, 1)
        SendKeys "%FA{TAB}{DOWN}{DOWN}{DOWN}{DOWN}{DOWN}{UP}{UP}{UP}{TAB}{ENTER}Y%FX", True
    End If
    If InStr(PaintPath, "WINDOWS") Then
    If IsVista() = 1 Then ' SendKeys does not work
'        SendKeys "%FA{TAB}{DOWN}{DOWN}{DOWN}{DOWN}{DOWN}{UP}{UP}{UP}{UP}{UP}{UP}{TAB}{TAB}{ENTER}Y%FX", True
        Exit Sub
    Else ' it is Windows XP, and this does not work
        Xnothing = Shell(PaintCommand, 1)
        SendKeys "%FA{TAB}{DOWN}{DOWN}{DOWN}{DOWN}{DOWN}{UP}{UP}{UP}{UP}{UP}{UP}{TAB}{ENTER}YY%FX", True
    End If
    End If

GeneralRe: Trouble with Shell and Sendkeys Pin
Dave Kreskowiak21-Oct-13 1:38
mveDave Kreskowiak21-Oct-13 1:38 
GeneralRe: Trouble with Shell and Sendkeys Pin
Member 1034848623-Oct-13 1:03
Member 1034848623-Oct-13 1:03 
GeneralRe: Trouble with Shell and Sendkeys Pin
Dave Kreskowiak23-Oct-13 2:23
mveDave Kreskowiak23-Oct-13 2:23 
GeneralRe: Trouble with Shell and Sendkeys Pin
Eddy Vluggen23-Oct-13 7:29
professionalEddy Vluggen23-Oct-13 7:29 
GeneralRe: Trouble with Shell and Sendkeys Pin
Dave Kreskowiak23-Oct-13 9:01
mveDave Kreskowiak23-Oct-13 9:01 
GeneralRe: Trouble with Shell and Sendkeys Pin
Member 1034848623-Oct-13 20:49
Member 1034848623-Oct-13 20:49 
GeneralRe: Trouble with Shell and Sendkeys Pin
Dave Kreskowiak24-Oct-13 3:15
mveDave Kreskowiak24-Oct-13 3:15 
QuestionUpdating data in fields Pin
SPSandy19-Oct-13 21:38
SPSandy19-Oct-13 21:38 
AnswerRe: Updating data in fields Pin
Dave Kreskowiak20-Oct-13 3:19
mveDave Kreskowiak20-Oct-13 3:19 
GeneralRe: Updating data in fields Pin
SPSandy20-Oct-13 15:57
SPSandy20-Oct-13 15:57 
GeneralRe: Updating data in fields Pin
Dave Kreskowiak20-Oct-13 17:00
mveDave Kreskowiak20-Oct-13 17:00 
GeneralRe: Updating data in fields Pin
SPSandy21-Oct-13 0:14
SPSandy21-Oct-13 0:14 
GeneralRe: Updating data in fields Pin
Dave Kreskowiak21-Oct-13 1:35
mveDave Kreskowiak21-Oct-13 1:35 
GeneralRe: Updating data in fields Pin
Mycroft Holmes20-Oct-13 17:56
professionalMycroft Holmes20-Oct-13 17:56 
QuestionImporting rss to openoffice Pin
joestudent1219-Oct-13 4:34
joestudent1219-Oct-13 4:34 
AnswerRe: Importing rss to openoffice Pin
Kenneth Haugland19-Oct-13 5:05
mvaKenneth Haugland19-Oct-13 5:05 
QuestionDuplicate document on memory... is it possible (VBA, Word 2010 Macro) Pin
rbid18-Oct-13 5:25
rbid18-Oct-13 5:25 

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.