Topics
-
- 7 replies
- 15.3k views
I have been looking for a way to create rounded corner buttons for a windows forms app in vb.net and have been mostly unsuccessful to this point. I can draw a rounded corner rectangle within the client area of the button, but the client area is still a rectangle and I can't figure out either how to make the rectangle client area transparent or make the whole button a different shape. I have been working in the onpaint side of the button control. Will this not do all that I need? Do I need to be looking at something other than the button control itself. I'm not really sure where to go from here. Thanks
Last reply by PrOpHeT, -
- 1 reply
- 6.6k views
Hello, i need to package and deploy sql server express r2 with visual studio installer 2010, and execute a database create script at the end of the installation. I am deploying a client and server version of my application, i will present a dialog "choose which app to install, client or server".if the use choose server, then install sql server, if client then skip sql server installation. the first issue is, i have been able to create a bootstrap for sql server r2 and create the installer dll that will execute the database create file, but i get an error shown in the image. the second issue is that how do i let the user choose weather to install sql server or…
Last reply by PrOpHeT, -
-
- Leaders
- 2 replies
- 3.1k views
I am using VB.NET 2010 and having an issue with selecting the appropriate item in the combobox programmatically with info from the data base. The combobox contains the following items: AAA AA A B C D I have verified that there are no leading or trailing spaces in the combobox items. When the record in the database contains "A", the FindString finds the AAA record. If the database contains "B", "C" or "D", it finds the correct item. Here is my code that gives an index of 0 to show "AAA: lblSingles.Text = "A" ' Simulate data from database Dim index As Integer index = cboSingles.FindString(lblSingles.Text) cboSingles.SelectedIndex = index Change "…
Last reply by stramels, -
-
-
- Administrators
- 5 replies
- 2.7k views
I am trying out my hand at data modeling, what I am trying to do is get an editor that allows me to create types with an FK reference in a main data table, and when the editors load, have selections rather than text fields. http://www.asp.net/mvc/tutorials/mvc-music-store-part-5 I had assumed that the since MVC made the FK when it created the DB that is followed it as well when creating CRUD views, it appeared as though that was the case from the music store demo as their screen shows select lists and they even make a point to state that it uses them. I have gone through the Music Store demo and I cannot tell what I have done wrong, model is as follows. using…
Last reply by PrOpHeT, -
-
-
- Leaders
- 2 replies
- 1.2k views
Hi, I am new in C# and i am still learning. I'd like to know if anyone knows how to upload/import a PowerPoint file in my C# form.I have read a lot of different solutions on forums but all of this solutions just open the PowerPoint file and i don't want that. I want to see that file in my form.I am using Microsoft Visual Studio 2010. I hope you can help me. Thanks in advance!
Last reply by Kryptonas, -
-
- 0 replies
- 3.2k views
Re: reading powerpoint presentations with c# Split from http://www.xtremedotnettalk.com/showthread.php?t=92732 Did you accomplish that?? Because i am trying to do the same thing! Note from moderator: Please avoid responding to threads over a month old. Creating a link to the old thread is preferred. You might also want to check out the Posting Guidelines if you haven't already. Thanks, and enjoy the forum!
Last reply by Kryptonas, -
-
- Leaders
- 2 replies
- 2.1k views
Hi again :P In my musical project, I'm creating buttons and labels at runtime. I was wondering how can I make changes to a certain button object via a label object, like this: Dim Label1 as New Label Dim Button1 as New Button Me.Controls.Add(Label1) Me.Controls.Add(Button1) AddHandler Label1.MouseEnter, AddressOf MousyEnter Private Sub MousyEnter(ByVal sender As System.Object, ByVal e As System.EventArgs) ' This is what I want to do: "Button1".Text= "What's up!" ' Can I access Button1 within Me.Controls? End Sub I cannot seem to figure this out. Any suggestions please let me know! Thanks!!!
Last reply by Doggo120, -
-
-
- Leaders
- 2 replies
- 1.5k views
Hey guys! I'm using VB.net and I would want to have "property properties" of a class like this: Thing.Property1 = "Yo!" (*1) Thing.Property1.AnotherThing = 0 Thing.Property1.AnotherThing2 = True I understand I can use 'property Property1 as class' but if I do that, Property1 must get or set a Class, not a variable (*1) which is what I want. The contextualized example would be something like this: Music.Note = 32 (A number representing a musical note) Music.Note.MIDINumber (Retrieve the MIDINumber of Note) Music.Note.Name (Retrieve the name of Note) You can see it in this case: Textbox1.Text="Something" Textbox1.Text.Length ...Well, thanks for your …
Last reply by Doggo120, -
-
- 1 reply
- 3.1k views
i have a problem guys,i have a project and i really don't know how to convert binary to octal octal to binary hex to binary dec to binary using VB 2010.. i really need your help guys who knows the codes for this,i think its loop but i'm a newbie in any kinds of VB..our teacher didn't teach us how to do this so i'm counting on you guys who are expert in programming..i try to search in the internet but still i didn't find the codes..please help me guys,i only have 3 days left to pass my project..:(:(:( please help guys...
Last reply by Napivo1972, -
-
- Administrators
- 7 replies
- 3.7k views
HI im new to VB.NET. Im working on a video streaming project. I want to know a way i could view the streaming videos in a vb.net application. Streaming servers are already running. for example: I can view the streaming videos from VLC player by putting the IP and the port of the server. I want to do the same in my application. Does anyone have an idea on how i can do this. Thanks..:)
Last reply by tripodhipole, -
-
-
- Administrators
- 1 reply
- 1.2k views
Re: Access or SQL Split from http://www.xtremedotnettalk.com/showthread.php?t=101879 I want to catch events in my main form and change the title to match the input from the event. I'm getting errors about crossthreading. Can some one please help me get this small test program working? Here is the whole code: Code: Public Class Form1 Private WithEvents Worker As New WorkerClass Private Sub Worker_ProgressChanged(ByVal Progress As Integer) Handles Worker.ProgressChanged Me.Text = Progress End Sub End Class Code: Public Class WorkerClass Public Event ProgressChanged(ByVal Progress As Integer) Private t As Threadin…
Last reply by PlausiblyDamp, -
-
- 0 replies
- 1.1k views
i am currently an UG at university of texas at dallas majoring in MIS just want to know wat type of opportunities i will get and is it worth doing this major...:confused:
Last reply by dave21, -
-
- Administrators
- 6 replies
- 5.9k views
Hi! Does anyone know anything about integrating OpenOffice in .net application? Thanks! Alex :p
Last reply by Jennia, -
-
-
- Administrators
- 2 replies
- 2.4k views
"The upgarde patch cannot be installed" error while installing Visual studio 2003 We need Visual studio 2003 as a Prerequisite to run a software.While installing the Visual studio 2003-sp1(VS7.0sp1-KB837234-X86.exe) on windows 2003,I got the error as "The Upgrade patch cannot be installed by the windows installer service because the program to be upgraded may be missing,or the upgrade patch may update a different version of the program..." I surfed around the net,but cannot able to get the apt solution.System in need seems to be pretty much outdated.But i need this to get done.Someone pls help me out,to sort this issue. Thanks in advance..
Last reply by rajmhn, -
-
-
- Leaders
- 2 replies
- 6.4k views
We have not added any code to instantiate it. In a working program that uses the same technique. I hit F8 to step thru. 1. It goes into some CheckChanged events on frmMain so I assume the form is instantiated. 2. It then goes into the module with Public FormMain as frmMain = frmMain where it completes the definitions ok (does the last). 3. Then it goes to frmMain's MyBase.load 4. Program runs fine In the failing program I hit F8 1. It immediately goes to the module with Public FormMain as frmMain = frmMain (frmMain probably NOT instantiated) 2. The module definitions do not complete (last statement executed is the FormMain). 3. It go…
Last reply by QuickBooksDev, -
-
-
- Administrators
- 3 replies
- 3k views
Okay, we've run across something a bit odd. I have a Windows forms application, that when it starts, downloads and opens a file (with a .ini file extension) to retrieve some system settings. Private Sub SetupKioskInformation() Dim strKioskString As String = "" Dim strProperty() As String = Nothing Dim strObject As String = "" Dim strValue As String = "" Dim bolbtnWebpageOneSet As Boolean = False Dim bolbtnWebpageTwoSet As Boolean = False Try '-------------------------------------------------------- '- Determine if the Kiosk.ini file exists . . . '----------------------------------…
Last reply by PlausiblyDamp, -
-
- 0 replies
- 1.1k views
I want to access the HTML code for a particular frame on a web page. I can do this in a browser by right clicking over the frame and selecting "View Source". If I load the page in a WebBrowser control and try to examine the WebBrowser.Document.All to try to find this HTML code I get lost in a huge hierarchy of HTML elements. Trying to iterate through the recursively doesn't bring up my HTML code. How can I get the HTML code I want programatically?
Last reply by rbulph, -
- 0 replies
- 1.9k views
want to remove first and last character of any word by using regex.... FOr example.. (HELLO) (WORLD) will return === HELLO WORLD and (HE/LLO) (WO/RLD) will return ====== HE/LLO WO/RLD or //Hello WOrld/ will return ========= Hello WOrld or (HELLO) (W/ORLD) STACKOVERFLOW) will return === HELLO W/ORLD STACKOVERFLOW (He(Lo) Wo®ld will return ===== He(Lo Wo®ld I dun want to replace all parenthesis ..I wish to replace First and last parenthesis of any word..... I m trying this ... temp = Regex.Replace(temp, @"^[!@#$%^&*()_+=[{]};:<>|./?,\'""-]+", " "); BUT this regex equation ONly remove FIRSt CHaracter IF FOund....
Last reply by sumair_coolboy, -
- 1 reply
- 2.2k views
What's up everyone, I'm new to the forum and just wanted to say hey. Hopefully I posted this in the right section!
Last reply by bella10388, -
-
- Administrators
- 4 replies
- 2.5k views
Soon I will be running into a situation where some equipment i work with will only work with an external serial printer. The problem is I can't use one with thermal paper and track feed is going to be a hard fight and laser would be overkill with a possible four line of text for a single sheet. Solution log all data that would have gone to the printer to a database. While data is also kept in a buffer until a full sheet of paper is use, then print the page an clear the buffer. I just wanted to get some thoughts at this point while I do more research. Thanks, I will post here as I work on this. ZeroEffect
Last reply by ZeroEffect, -
-
Who's Online 0 Members, 0 Anonymous, 11 Guests (See full list)
- There are no registered users currently online