Showing results 1 to 25 of 500
Search took 0.64 seconds.
Search: Posts Made By: jpaugh78
Forum: .NET General 03-20-2010, 12:56 PM
Replies: 9
Views: 482
Posted By jpaugh78
You have to put 2 quotation marks together ("")...

You have to put 2 quotation marks together ("") to display 1 set in the text box.

so your code would look like:

TextBox1.Text = """<a href=""...""><img src=""...""><a/>"""
Forum: .NET General 03-19-2010, 11:35 AM
Replies: 1
Views: 1,288
Posted By jpaugh78
Drag and Drop a picturebox that was created during runtime?

I have found multiple examples of how to drag and drop images, but all of them use controls that are already on the form at runtime.

In my program, all of my pictureboxes are being drawn during...
Forum: .NET General 03-18-2010, 11:20 AM
Replies: 15
Views: 2,480
Posted By jpaugh78
I was only putting the msgbox() parts in there to...

I was only putting the msgbox() parts in there to show which part did what, I wasn't really thinking about it. I could have very easily just commented that section with info instead of using a...
Forum: .NET General 03-18-2010, 04:54 AM
Replies: 15
Views: 2,480
Posted By jpaugh78
Here is some easy code for a message box that has...

Here is some easy code for a message box that has a Yes, No and Cancel button:

Dim iResult = MessageBox.Show("Your message here", "Your Title Here", MessageBoxButtons.YesNoCancel)

If iResult =...
Forum: .NET File I/O and Registry 03-18-2010, 04:40 AM
Replies: 2
Views: 1,255
Posted By jpaugh78
Thanks, worked like a charm! Here is my...

Thanks, worked like a charm!

Here is my finished and working code now, for those curious:


Private Sub Button6_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles...
Forum: .NET File I/O and Registry 03-17-2010, 07:18 PM
Replies: 2
Views: 1,255
Posted By jpaugh78
SaveFileDialog + Cancel button

I'm using the SaveFileDialog to save listbox info into a text file. The files save fine, but when you go to save the file, if you hit the cancel button, it will overwrite the previous file you...
Forum: .NET General 03-15-2010, 07:07 PM
Replies: 9
Views: 2,285
Posted By jpaugh78
Yes, all of my transparent controls were just...

Yes, all of my transparent controls were just there to pick up user clicks. I'm still very new to programming, so it was the only way I knew how to do it.

I can draw fairly well in Lightwave, so...
Forum: .NET General 03-15-2010, 02:54 PM
Replies: 9
Views: 2,285
Posted By jpaugh78
That worked like a charm! No flickering! ...

That worked like a charm! No flickering! [throws a party]

So for future reference, if I see {} in code, that means it's probably C#? So far I've only messed with VB6 and VB.net.
Forum: .NET General 03-15-2010, 02:04 PM
Replies: 2
Views: 1,062
Posted By jpaugh78
There isn't a control for an input box, so just...

There isn't a control for an input box, so just use a button. When the user clicks on the button:


Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)...
Forum: .NET General 03-15-2010, 01:58 PM
Replies: 9
Views: 2,285
Posted By jpaugh78
I'll be completely honest with you, I've yet to...

I'll be completely honest with you, I've yet to deal with classes. I just started trying to learn vb.net about a month ago, so I'm still learning.

I'm not sure how to use this code at all. Do I...
Forum: .NET General 03-14-2010, 10:33 AM
Replies: 9
Views: 2,285
Posted By jpaugh78
The form has 4 pictureboxes, 2 for the dice and 2...

The form has 4 pictureboxes, 2 for the dice and 2 for the markers that show what number the roller is aiming for. Nothing is actually animated, but when you click the "roll dice" button, my program...
Forum: .NET General 03-13-2010, 11:05 PM
Replies: 9
Views: 2,285
Posted By jpaugh78
Flicker problem with transparent controls

I did use google to try and solve this problem, but the few solutions I found didn't seem to help.

I made a Craps table in lightwave, and am using it as my forms background image. I took a bunch...
Forum: .NET General 03-06-2010, 05:53 PM
Replies: 5
Views: 357
Posted By jpaugh78
^^What he said. It's a blackjack program...

^^What he said.

It's a blackjack program that I'm writing. The background is a 3D image of a blackjack table that I made in lightwave. I drew out buttons to go with my game, so instead of having...
Forum: .NET General 03-06-2010, 08:42 AM
Replies: 5
Views: 357
Posted By jpaugh78
Okay, that makes sense. Thanks for the help, :-)...

Okay, that makes sense. Thanks for the help, :-)

Using the AddHandler made my code look a lot more organized.

I have 30+ things the user can click on, so consolidating all those clicks into 2...
Forum: .NET General 03-05-2010, 05:41 PM
Replies: 5
Views: 357
Posted By jpaugh78
Question regarding AddHandler

I just started using AddHandler today, so I'm still trying to figure out the in's and out's.

I know how to have a user created sub handle multiple clicks from a group of controls, but is there any...
Forum: .NET Installation / Documentation 03-03-2010, 03:49 PM
Replies: 10
Views: 853
Posted By jpaugh78
Heh, I figured it would be something stupid like...

Heh, I figured it would be something stupid like that. I thought the EmbeddedResources part was the naming convention for it, since I had never used the resources.

[facepalm]

It took me a bit...
Forum: .NET Installation / Documentation 03-03-2010, 03:27 PM
Replies: 10
Views: 853
Posted By jpaugh78
The program works fine when I'm pointing to a...

The program works fine when I'm pointing to a picture file that does exist. My game is working fine as far as that is concerned. But when I try to save the pictures as resources, then access them...
Forum: .NET Installation / Documentation 03-03-2010, 01:50 PM
Replies: 10
Views: 853
Posted By jpaugh78
The only thing that could be happening, is that...

The only thing that could be happening, is that maybe because of the way I'm storing the variables, that I have to call the resources a different way.

When I make the deck of cards, I store the...
Forum: .NET Installation / Documentation 03-03-2010, 07:00 AM
Replies: 10
Views: 853
Posted By jpaugh78
I downloaded that code and have been toying...

I downloaded that code and have been toying around with embedding to work in my program, but I can't seem to get it to work yet.

Your code:

Dim myAssem As [Assembly]
myAssem =...
Forum: .NET Installation / Documentation 03-02-2010, 10:26 AM
Replies: 10
Views: 853
Posted By jpaugh78
If I embed them as resources, how would I go...

If I embed them as resources, how would I go about accessing them from my program?
Forum: .NET Installation / Documentation 03-02-2010, 09:03 AM
Replies: 10
Views: 853
Posted By jpaugh78
Problem publishing my program

Hello everybody! Hopefully I can explain my problem....

I'm working on a Casino program, and I have the first game working. I'm trying to send the program to a friend so he can play around with...
Forum: General 04-11-2007, 11:37 AM
Replies: 2
Views: 512
Posted By jpaugh78
I feel dumb all of a sudden :eek: Thanks for...

I feel dumb all of a sudden :eek:

Thanks for the help :D
Forum: General 04-11-2007, 10:52 AM
Replies: 2
Views: 512
Posted By jpaugh78
Running my VB project on another computer

I'm having trouble running my project on my laptop which doesn't have VB6 installed on it.

I thought if I made it into an executable that it would transfer okay, but I get an error on the laptop...
Forum: General 01-18-2007, 08:09 AM
Replies: 5
Views: 427
Posted By jpaugh78
Okay, I have found the problem. When one of...

Okay, I have found the problem.

When one of the states is selected, that state is put at the top of the list (item zero). So no matter which state is selected, the index value will always be...
Forum: General 01-18-2007, 05:16 AM
Replies: 5
Views: 427
Posted By jpaugh78
I tried having a message box come up to tell me...

I tried having a message box come up to tell me which index was selected:

msgbox WebBrowser1.Document.All("PropertyState").selectedIndex

But it told me the index was zero, which was not right. ...
Showing results 1 to 25 of 500

 
Forum Jump
Advertisement:



Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe