|
Apologies for the shouting but this is important.
When answering a question please:
- Read the question carefully
- Understand that English isn't everyone's first language so be lenient of bad spelling and grammar
- If a question is poorly phrased then either ask for clarification, ignore it, or mark it down. Insults are not welcome
- If the question is inappropriate then click the 'vote to remove message' button
Insults, slap-downs and sarcasm aren't welcome. Let's work to help developers, not make them feel stupid.
cheers,
Chris Maunder
The Code Project Co-founder
Microsoft C++ MVP
|
|
|
|
|
For those new to message boards please try to follow a few simple rules when posting your question.- Choose the correct forum for your message. Posting a VB.NET question in the C++ forum will end in tears.
- Be specific! Don't ask "can someone send me the code to create an application that does 'X'. Pinpoint exactly what it is you need help with.
- Keep the subject line brief, but descriptive. eg "File Serialization problem"
- Keep the question as brief as possible. If you have to include code, include the smallest snippet of code you can.
- Be careful when including code that you haven't made a typo. Typing mistakes can become the focal point instead of the actual question you asked.
- Do not remove or empty a message if others have replied. Keep the thread intact and available for others to search and read. If your problem was answered then edit your message and add "[Solved]" to the subject line of the original post, and cast an approval vote to the one or several answers that really helped you.
- If you are posting source code with your question, place it inside <pre></pre> tags. We advise you also check the "Encode "<" (and other HTML) characters when pasting" checkbox before pasting anything inside the PRE block, and make sure "Use HTML in this post" check box is checked.
- Be courteous and DON'T SHOUT. Everyone here helps because they enjoy helping others, not because it's their job.
- Please do not post links to your question into an unrelated forum such as the lounge. It will be deleted. Likewise, do not post the same question in more than one forum.
- Do not be abusive, offensive, inappropriate or harass anyone on the boards. Doing so will get you kicked off and banned. Play nice.
- If you have a school or university assignment, assume that your teacher or lecturer is also reading these forums.
- No advertising or soliciting.
- We reserve the right to move your posts to a more appropriate forum or to delete anything deemed inappropriate or illegal.
cheers,
Chris Maunder
The Code Project Co-founder
Microsoft C++ MVP
|
|
|
|
|
Hello,
I have a table layout panel that is dynamically populating a user control into a table panel layout.
The user control has a picturebox and a few text fields.
Loading the svg literally takes 2-3 seconds for each user control with the picture box to display.
The file sizes are only 2kb to 20 kb.
I've tried chnaging the sizemode property on the picturebox, but it acts the same no matter what.
I can step through the code and there is no delay at the Load step.
Any ideas why this is happening and how to speed this up?
'UserControl
Dim pp = New ProjectPart
With pp
pp.PictureBox.ImageLocation = strFileName
' pp.PictureBox.LoadAsync()
pp.PictureBox.Load()
pp.CheckBox.Text = PartPlastic_ID
pp.ComboBox.Text = PartPlastic_Status
pp.TextBoxPN.Text = PartPlastic_PartNumber
pp.TextBoxType.Text = PartPlastic_Type
End With
'Add to TablePanelLayout
TlpCustomerParts.Controls.Add(pp, currentcolumn, currentrow)
|
|
|
|
|
Try it with .png. If it's faster, than you know the .svg is slower (because it's a "draw command" file and not an "image").
"Before entering on an understanding, I have meditated for a long time, and have foreseen what might happen. It is not genius which reveals to me suddenly, secretly, what I have to say or to do in a circumstance unexpected by other people; it is reflection, it is meditation." - Napoleon I
|
|
|
|
|
Unfortunately there is a library of thousands of parts. I'll try to convert some and check it out.
Thanks!
|
|
|
|
|
Member 12061771 wrote: Unfortunately there is a library of thousands of parts Download a few hundred, convert them using a script and test it. If it's true, write a script to convert them.
Being a library of thousands of parts is not an argument, it's not like someone is asking you to open each one in MS-paint and press "Save As".
Bastard Programmer from Hell
"If you just follow the bacon Eddy, wherever it leads you, then you won't have to think about politics." -- Some Bell.
|
|
|
|
|
|
i have been using cliwrap for running git commands and passing the arguments. But it seems to have failed while running my msbuild command from my c# console application.
What i am trying-
var stdOutSetup = new StringBuilder();
var stdErrSetup = new StringBuilder();
var Setup = await Cli.Wrap("msbuild")
.WithArguments("/t:scmclean && /t:setup")
.WithStandardOutputPipe(PipeTarget.ToStringBuilder(stdOutSetup))
.WithStandardErrorPipe(PipeTarget.ToStringBuilder(stdErrSetup))
.ExecuteBufferedAsync();
var stdOut2 = stdOutSetup.ToString();
var stdErr2 = stdErrSetup.ToString();
Console.WriteLine("Build Commands Output :");
Console.WriteLine(stdOut2);
Console.WriteLine(stdErr2);
is there any possible way where i can run msbuild commands from my c# console application?
|
|
|
|
|
|
Madhurima Dutta wrote: is there any possible way where i can run msbuild commands from my c# console application? Yes, and the effect will be similar to writing them commands in a batch file.
Why is there an "await" in your code?
Search for C# execute console commands, the web has enough examples on how to launch stuff on the console.
Bastard Programmer from Hell
"If you just follow the bacon Eddy, wherever it leads you, then you won't have to think about politics." -- Some Bell.
|
|
|
|
|
Hi, I have this old VB6 project that I need to modify a little. My question is where I can download(spyware free) VB6 or .ISO image? We do have MSDN subscription, but I can't find anything but the service pack. Found these installation instructions for Win 10: How to install Visual Basic 6 on Windows 10[^]
Also some strange download of one CD, that doesn't looks like what I'm searching for: WinWorld: Microsoft Visual Basic 6.0[^]
Thanks!
Advertise here – minimum three posts per day are guaranteed.
|
|
|
|
|
There is no legitimate download for VB6 or VS6. It's been a dead product for quite some time now.
|
|
|
|
|
Thanks. This is what I came to after digging around. Typical MC mess.
Advertise here – minimum three posts per day are guaranteed.
|
|
|
|
|
If you're saying "typical Microsoft mess", they've been screaming "get your apps moved to VB.NET" for the last 20 years.
VB6 IDE support ended in 2007(?) and is not supported on any current version of Windows. The VB6 runtimes will be supported until the end-of-life of Windows 11, currently, for the 22H2 version, in 2025.
Nobody can complain about it. They've had over 20 years to get the code moved over to .NET.
|
|
|
|
|
Then why MFC still works? Microsoft screaming out loud "Wach out! I did something stupid again!" doesn't help me today. I haven't written this application.
Advertise here – minimum three posts per day are guaranteed.
|
|
|
|
|
Because MFC is still very widely used, still supported, and doesn't have anything to do with VB6...
|
|
|
|
|
I mean... even if they don't support it... you have to admit it could at least be available for download.
Jeremy Falcon
|
|
|
|
|
You'd think but if it's available for download, there's always some whiny little sh*t who thinks since it's available it's also supported.
|
|
|
|
|
Single Step Debugger wrote: My question is where I can download(spyware free) VB6 or .ISO image?
And then you are going to run it on what? You would need an OS (windows version) which runs it and then a computer that runs that.
Hypothetically one of those links seems like it might be the CD image? Or the installer?
So then maybe you can create a VM that would run maybe Windows 95 or Vista? Then run the installer in that? But you would need to find Windows 95/Vista to install in the VM.
-----------------------------------------
Myself this is why being a pack rat can be a good thing.
I am rather certain I have a computer tucked away with Windows 95 on it. (Never had one with Vista.)
I also have all the MSDN CDs/DVDs back to the 90s. (I think that means I have a developer version of Vista though.)
I even have some monitors which would be required for that computer. Although I have been thinking of tossing those.
|
|
|
|
|
Yes, this is the case. We are setting VM with Win XP. Also, it looks like with a little trick it can be installed on Win 10. I just don't have the discs.
Advertise here – minimum three posts per day are guaranteed.
|
|
|
|
|
I've heard of people using Oracle VM VirtualBox[^] with varying levels of success. It's apparently free and from Oracle. I also came across this when checking to see if it would fit your need Installing Windows Vista in VirtualBox - TurboFuture[^]
I didn't dig around to see if you can get VB6 installed from the same source, but might be worth asking in that community.
Having said all that, now is the time to bite the bullet and rewrite that project in a more modern language.
|
|
|
|
|
Thank you for that option.
Advertise here – minimum three posts per day are guaranteed.
|
|
|
|
|
I little development. Apparently, Microsoft still keep download of VB6 two CD's ISO in the MSDN. The name is Visual Basic 6.0 Enterprise or such.
I managed to install it on win 10 using this how-to: How To Install Visual Basic 6 (VB6) in Windows 10 • Raymond.CC[^]
It didn't help me as in my case there are lot more dependencies(flexgrid, crystal, some ActiveX components etc), but could help to someone in my position with a less complicated project.
Advertise here – minimum three posts per day are guaranteed.
|
|
|
|
|
Noticed I still have the disks for Visual Studio 2000 Enterprise Edition; among other things.
Anyway, made me curious what was out there and found this. A lost jewel or ...?
WinWorld: Microsoft Visual Studio 6.0
"Before entering on an understanding, I have meditated for a long time, and have foreseen what might happen. It is not genius which reveals to me suddenly, secretly, what I have to say or to do in a circumstance unexpected by other people; it is reflection, it is meditation." - Napoleon I
|
|
|
|
|
Google comes up with lots of links to download "VB6"; I wouldn't trust any of them. Aside from the questionable legality, there's no guarantee that the downloads won't be riddled with malware.
VS2008 is still available from Microsoft[^], and includes the tools to convert VB6 projects to VB.NET, which would probably be the best place to start.
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|