Topics
-
Documentation on MediaPlayer Control ?
by Guest Perl-
- *Gurus*
- 2 replies
- 1.7k views
Perferably in .NET but i am pretty sure i can port any thing that gives me some help on this control
-
-
- 1 reply
- 2k views
This doesn't seem to work for me. The binding works, but the clearing of the selected item does not. After binding, I want to set the selectedindex to -1 which should no "no selection" right? Doesn't work. Always selects the first item. ' Clear and bind the events dropdown ddEvents.DataSource = Nothing ddEvents.Items.Clear() ddEvents.DataSource = oDB.GetDataView("SELECT * FROM tbEvent where evtcustomerid = '" + CompanyId + "' and evtIsDeleted = 0") ddEvents.DataTextField = "evtName" ddEvents.DataValueField = "evtEventId" ddEvents.DataBind() ddEvents.SelectedIndex = -1
-
-
- *Gurus*
- 2 replies
- 1.7k views
I have here some C# code that returns some errors: I don't know anything about C#, but it is easy for you I think to just tell me how to write it right. rectangle = new Rectangle(1, 18 * ImageList.Images.Count, base.Width - 2, 18) stmt.start(): 279 dec.start(): 280
-
-
Closing 1 form from another
by Guest density- 2 replies
- 2.4k views
I have a program with 3 forms: frmStartup, frmPlayers, and frmGame. frmStartup is the startup form for the application. frmPlayers is launched from frmStartup and frmGame is launched from frmPlayers. I would like to close frmGame from frmStartup (which is not the form that launched it). For what its worth, this is how I'm launching frmGame from frmStartup: dim frmGame as frmGame frmGame = new frmGame() frmGame.show While I'm probably on the wrong path, here's how I've tried closing frmGame from frmStartup: dim frmGame as new frmGame frmGame.close (also tried frmGame.dispose) This doesn't generate an error, however it doesn't close the frmGame that…
Last reply by vbnow, -
.NET noob question - picOut.print
by Guest BDawg- 3 replies
- 2k views
In VB 6, I was trained to display lines of text in a picturebox. In one line, you could mix text with variables as follows. picOut.print "The number in the array is"; Tab(30); array(i) Now they've taken the print ability of the picture box out of .NET, and I'm very confused. The upgrade wizard told me I need to be using the creategraphics extension of the picturebox, but I can't seem to use variables in it. I tried using a textbox and a label (as I was forbid to do in vb6), but could not figure out how to put them all in the same line...neither recognise the ; . Some of the tutorials online show practice problems using the console, but isn't the point to st…
-
Menu Order
by vnarod- 3 replies
- 1.7k views
I have an MDI Form with menu items File and Help. Child form has menu Action. When child form is active, the "Action" menu is added to the end of MDI menu. Is there a way to make "Action" menu appear before "Help" menu? I tried playing with menuorder property but it doesn't seem to be working in case of MDI.
-
Starting the Application
by Guest littledump-
- *Gurus*
- 13 replies
- 2.5k views
Ok i think i know what my problem is & how to fix it if someone just answers this one question. How do i start an app so that no form is specified as the startup form, but i can show a form right after its started. Heres what I have right now but doesnt work Module Hi Public Sub Main() System.Windows.Forms.Application.Run(Myform) End Sub End Module Im sure this is probably an easy question & anyone who helps, thank you.
-
-
escape char function
by Guest Cheung-
- *Gurus*
- 5 replies
- 2.5k views
Do you know any function that change ' (single quote) to '' (2 single quotes) in a string?
-
-
VB.net - Flexgrid ?
by Guest glendower- 1 reply
- 5.1k views
I'm trying to create something along the lines of VB3 flexgrid in vb.net. I need to be able to define the number of rows and colums and to access each cell individually in a random manner. Each cell needs to have events assigned to it (mouseclick etc) and I need to be able to set the background and font seperately. I have created such a beast using textboxes (arrays) but the code has become HUGE !! It seems to me that vb.net doesnt have an equivalent to flexgrid. I have had a look at datagrids but I just cant get my head round them, they seem preoccupied with displaying the results of sql statements and tables. Any ideas
Last reply by Flyguy, -
OleDbException
by Guest Cheung-
- *Gurus*
- 4 replies
- 2.7k views
my vb.net application inserts a record in the MS Access db. When I insert a record with duplicate primary key, an oledbexception is thrown. How can I know the reason of the exception? oledbexception.ErrorCode, OleDbError.SQLstate or which property I should refer to? and what is the value of the property? Thanks
-
-
- 2 replies
- 1.6k views
How do I install deploy my application on a computer that does not have framework installed? I remember reading that framework installation is in some file but can't find the file name. Can framework installation be added if necessary to a deployment project?
-
-
- *Gurus*
- 12 replies
- 2.2k views
I just realize that VB.NET is very similar to Java!! Everything is an object!! Including data types and arrays... Which means to say that Java Programmers are easier to port into VB.NET!! Too bad!! If I could have learn Java at the ealier time...
Last reply by reboot, -
-
- 1 reply
- 1.7k views
:-\This is probably the most annoying problem I have run into so far, and it is unfortunately more difficult to explain, but I'll do my best! I am creating a web app in VB.Net. The problem is this, I need to obtain the text from a text box that I had edited to pass into my update query, however it grabs the original text instead. I figure this is because it is databound that I cannot use "string = textbox1.Text". What do I do to obtain the text w/ the changes? :rolleyes:
Last reply by shadowskull, -
add code to buttons of an inherited form
by Guest Cheung-
- *Gurus*
- 4 replies
- 2k views
I created a Base form which have buttons on it. I then created a form (called form B) inherited from this Base form. Now, I found I can't edit/add code on buttons inherited. Why? What can I do if I want to add code to it?? Thanks
-
-
Unzipping files programmatically
by Guest Ted Osberg- 2 replies
- 2.4k views
I was wondering if there was a way to unzip .zip files programmatically in vb.net or vb6 without using winzip (or their command line utility) or another application?. Obviously, there is but I guess I'm not sure how to go about doing it. Can anyone point me in the right direction.
-
@ new styles
by AWS-
- *Gurus*
- *Experts*
- Administrators
- 10 replies
- 411 views
I added 2 new styles. Let me know what you think. I'm going to get familiar with this software for a little longer before I change over. So many new toys to play with that I just have to get used to them all. Attached is a style file. If you want to learn how to make them download this and check it out. Open it with your favorite text editor, mine is pico, but notepad will work. If you upload one post here so I can grab it. Make sure you give it a good name.;) Bob Schwarz, Sr.
Last reply by AWS, -
-
Who's Online 0 Members, 0 Anonymous, 24 Guests (See full list)
- There are no registered users currently online