Click here to Skip to main content
15,927,947 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Array of an Object Pin
AhClem21-Apr-06 2:49
AhClem21-Apr-06 2:49 
QuestionMS Word app with VB Pin
codeamin20-Apr-06 5:59
codeamin20-Apr-06 5:59 
QuestionPrinting Pin
aWaLsH52320-Apr-06 5:37
aWaLsH52320-Apr-06 5:37 
Questionfile parsing Pin
sadoo198220-Apr-06 5:22
sadoo198220-Apr-06 5:22 
Questionusing datagrid functionalities in osome other page Pin
harshsachdev20-Apr-06 5:14
harshsachdev20-Apr-06 5:14 
QuestionWriting code for a scanner that will use access cards Pin
matjame20-Apr-06 4:58
matjame20-Apr-06 4:58 
AnswerRe: Writing code for a scanner that will use access cards Pin
J4amieC20-Apr-06 5:57
J4amieC20-Apr-06 5:57 
Questionfull path ?? for graphic file Pin
Jirikub20-Apr-06 4:37
Jirikub20-Apr-06 4:37 
I am trying to run this in VB.net(2001)

ii = " C:\Documents and Settings\HP_Owner\My Pictures\gearsho.jpg"
ShowMyImage(ii, 792, 698)



and I get this error message

************** Exception Text **************
System.NotSupportedException: The given path's format is not supported.
at System.Security.Util.StringExpressionSet.CanonicalizePath(String path, Boolean needFullPath)
at System.Security.Util.StringExpressionSet.AddExpressions(String[] str, Boolean checkForDuplicates, Boolean needFullPath)
at System.Security.Permissions.FileIOAccess.AddExpressions(String[] value, Boolean checkForDuplicates, Boolean needFullPath)
at System.Security.Permissions.FileIOPermission.AddPathList(FileIOPermissionAccess access, String[] pathList, Boolean checkForDuplicates, Boolean needFullPath)
at System.Security.Permissions.FileIOPermission..ctor(FileIOPermissionAccess access, String[] pathList, Boolean checkForDuplicates, Boolean needFullPath)
at System.IO.Path.GetFullPath(String path)
at System.Drawing.IntSecurity.DemandReadFileIO(String fileName)
at System.Drawing.Bitmap..ctor(String filename)
at CVICENI.Form1.ShowMyImage(String fileToDisplay, Int32 xSize, Int32 ySize) in C:\Documents and Settings\HP_Owner\My Documents\Visual Studio Projects\CVICENI\Form1.vb:line 175
at CVICENI.Form1.Timer1_Tick(Object sender, EventArgs e) in C:\Documents and Settings\HP_Owner\My Documents\Visual Studio Projects\CVICENI\Form1.vb:line 160
at System.Windows.Forms.Timer.OnTick(EventArgs e)
at System.Windows.Forms.Timer.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr idEvent, IntPtr dwTime)



I have no idea what it means. Same program runs easily .wav and .rtf files from same directory with same mode of path. If anybody can help I would really be thankfull.

P.S. On the same computer VB4 has no problem with this.

Thank you Jirka

AnswerRe: full path ?? for graphic file Pin
J4amieC20-Apr-06 4:53
J4amieC20-Apr-06 4:53 
GeneralRe: full path ?? for graphic file Pin
Jirikub20-Apr-06 5:33
Jirikub20-Apr-06 5:33 
GeneralRe: full path ?? for graphic file Pin
J4amieC20-Apr-06 5:54
J4amieC20-Apr-06 5:54 
QuestionIs there any alternative for doevent Pin
Sushmadm20-Apr-06 4:27
Sushmadm20-Apr-06 4:27 
AnswerRe: Is there any alternative for doevent Pin
J4amieC20-Apr-06 4:51
J4amieC20-Apr-06 4:51 
GeneralRe: Is there any alternative for doevent Pin
Sushmadm24-Apr-06 20:07
Sushmadm24-Apr-06 20:07 
Questionupdate command Pin
neeraaj20-Apr-06 4:26
neeraaj20-Apr-06 4:26 
AnswerRe: update command Pin
J4amieC20-Apr-06 4:58
J4amieC20-Apr-06 4:58 
QuestionTime Trial software Pin
lindamaccarthy20-Apr-06 3:18
lindamaccarthy20-Apr-06 3:18 
AnswerRe: Time Trial software Pin
Eric Dahlvang20-Apr-06 4:03
Eric Dahlvang20-Apr-06 4:03 
QuestionActive Directory Pin
_tasleem20-Apr-06 3:02
_tasleem20-Apr-06 3:02 
AnswerRe: Active Directory Pin
MohammadAmiry20-Apr-06 7:10
MohammadAmiry20-Apr-06 7:10 
QuestionRTF controll for mobile applications Pin
_tasleem20-Apr-06 2:58
_tasleem20-Apr-06 2:58 
AnswerRe: Problem with code access Security Pin
J4amieC20-Apr-06 1:53
J4amieC20-Apr-06 1:53 
Questionvb.net class Pin
Mohammad Daba'an19-Apr-06 21:00
Mohammad Daba'an19-Apr-06 21:00 
AnswerRe: vb.net class Pin
MatthysDT20-Apr-06 0:43
MatthysDT20-Apr-06 0:43 
Questionhow to print a file from VB 6.0 Pin
himuskanhere19-Apr-06 19:30
himuskanhere19-Apr-06 19:30 

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.