Click here to Skip to main content
15,899,475 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionPlease fix my code! Pin
toffee_paul13-Sep-18 4:36
toffee_paul13-Sep-18 4:36 
AnswerRe: Please fix my code! Pin
Dave Kreskowiak14-Sep-18 6:34
mveDave Kreskowiak14-Sep-18 6:34 
AnswerRe: Please fix my code! Pin
Eddy Vluggen14-Sep-18 23:32
professionalEddy Vluggen14-Sep-18 23:32 
GeneralRe: Please fix my code! Pin
Richard Deeming18-Sep-18 3:38
mveRichard Deeming18-Sep-18 3:38 
GeneralRe: Please fix my code! Pin
Eddy Vluggen18-Sep-18 5:05
professionalEddy Vluggen18-Sep-18 5:05 
QuestionOpen / Display SVG images within Visual Basic 6 Pin
davesmithmiap13-Sep-18 1:19
davesmithmiap13-Sep-18 1:19 
AnswerRe: Open / Display SVG images within Visual Basic 6 Pin
Richard Deeming13-Sep-18 2:33
mveRichard Deeming13-Sep-18 2:33 
AnswerRe: Open / Display SVG images within Visual Basic 6 Pin
Member 1396504228-Sep-18 3:15
Member 1396504228-Sep-18 3:15 
Hi,
support for *.svg-files is quite limited on Windows operating systems. So while I would normally advise to keep your vb6 code free of dependencies, in this case it is not possible to do without. However, since you are using a "real" programming language such as vb6 Big Grin | :-D , you're in luck:
Have a look at Avax Vector ActiveX (OCX)
This library will add a lot more than just *.svg support and you'll find proper vb6 example code on the page - so you should be up and running within an hour.

Another approach, depending on how much effort you want to invest, would be to use the vbRichClient-Framework which uses cairo as a forms rendering engine: *.svg loading and saving is build right in and vbRichClient.dll is a rather well-performing and light-weight library - and since you'll have to distribute vbrun.dll anyway...

Btw. I wouldn't pay any notice to people trying to get you to "migrate" you to a "up-to-date platform". Chances are, these folks have never used vb6 anyway - and thus don't know how it has envolved in the last 20 years. As long as Windows is based mostly on COM, any managed code will look very poor indeed when compared to vb6.
RantRe: Open / Display SVG images within Visual Basic 6 Pin
Richard Deeming28-Sep-18 4:38
mveRichard Deeming28-Sep-18 4:38 
GeneralRe: Open / Display SVG images within Visual Basic 6 Pin
Darrell Hagan 202113-Jun-21 12:53
Darrell Hagan 202113-Jun-21 12:53 
QuestionCould someone explain why For Each and For Next loops behave differently with lists? Pin
MattiasW768-Sep-18 14:13
MattiasW768-Sep-18 14:13 
AnswerRe: Could someone explain why For Each and For Next loops behave differently with lists? Pin
Eddy Vluggen8-Sep-18 23:51
professionalEddy Vluggen8-Sep-18 23:51 
QuestionRe: Could someone explain why For Each and For Next loops behave differently with lists? Pin
MattiasW769-Sep-18 1:04
MattiasW769-Sep-18 1:04 
AnswerRe: Could someone explain why For Each and For Next loops behave differently with lists? Pin
Eddy Vluggen9-Sep-18 2:11
professionalEddy Vluggen9-Sep-18 2:11 
GeneralRe: Could someone explain why For Each and For Next loops behave differently with lists? Pin
MattiasW7620-Sep-18 9:09
MattiasW7620-Sep-18 9:09 
AnswerRe: Could someone explain why For Each and For Next loops behave differently with lists? Pin
Dave Kreskowiak9-Sep-18 4:54
mveDave Kreskowiak9-Sep-18 4:54 
GeneralRe: Could someone explain why For Each and For Next loops behave differently with lists? Pin
MattiasW7627-Sep-18 2:59
MattiasW7627-Sep-18 2:59 
QuestionAdding Custom TabPage to TabControl: Closed Pin
mo14927-Sep-18 11:12
mo14927-Sep-18 11:12 
QuestionHow to declare Crypto? Pin
Member 139535037-Sep-18 6:04
Member 139535037-Sep-18 6:04 
AnswerRe: How to declare Crypto? Pin
Richard Deeming7-Sep-18 7:46
mveRichard Deeming7-Sep-18 7:46 
GeneralRe: How to declare Crypto? Pin
Member 1395350314-Sep-18 3:19
Member 1395350314-Sep-18 3:19 
QuestionCurrency textbox Pin
Member 139744835-Sep-18 16:08
Member 139744835-Sep-18 16:08 
AnswerRe: Currency textbox Pin
Mycroft Holmes5-Sep-18 18:34
professionalMycroft Holmes5-Sep-18 18:34 
AnswerRe: Currency textbox Pin
dan!sh 5-Sep-18 19:56
professional dan!sh 5-Sep-18 19:56 
Questionwindows version in vb.net Pin
JR2123-Sep-18 0:20
JR2123-Sep-18 0:20 

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.