Making A Solid Effort To Upconvert?
Feb 13, 2010
I am making a solid effort to upconvert myself from VB6 to VB 2008 Professional. My current issue is with querying and updating to SQL 2008 Express. In VB6 this was a simple matter of adding an ADODC to the form and creating set queries in DataEnvironment that you reference in the code.Now, I don't suppose there is anything like that method in VB2008 (if I'm wrong and there is, then yippee!) so if possible I'd like a link to a straightforward methodology of querying and updating data in a SQL Database.
Please note, I am not yet down with alot of the abbreviated code references that generally gets used in VB2008 for dealing with SQL connectivity.
View 10 Replies
ADVERTISEMENT
Jun 18, 2010
I am new to vb-net and am self-teaching and developing an application to combine a number of tasks which use different apps at the moment. I have a routine to ftp upload files but I am duplicating effort by uploading even if the file exists. Is there a simple "file exists()" type solution similar to:
If System.IO.File.Exists(strPic) = True Then so that file is only uploaded if it does not already exist?
View 3 Replies
Apr 30, 2012
I have created an Excel Ribbon Addin that has some custom features that will benefit a relatively small business niche. The target companies number less than 1,000.I don't want to limit any one company's usage of the Addin...meaning I want them to be able to install and use the Addin as often as they need to, for as long as they need to, on as many computers as they need to.
The thing I want to prevent is sharing of the Addin. There are family members in this industry, that own different companies in different parts of the country...there are close friends in this industry that each own different companies. I want each company to purchase the Addin instead of share it.I have created a License Agreement that they have to agree to before the Addin is installed. But, that is as far as I have gone with it at this point.So, this leads me to 2 questions:
1. Is it worth the investment and effort to create this type of limitation for such a small market?
2. If so, what is the best way to go about accomplishing this?
View 7 Replies
Oct 14, 2010
I'm trying to draw a solid line if VB.NET the way I can in VB.What I WANT to do is set the pentype to solidcolor, but it says pentype is read only and you have to instantiate the brush as the pen type that you want, SO ... I do this:
Public myBrush As New SolidBrush(Color.Red)Public p1 As New Pen(myBrush, 5)
And what I get when I draw a line is a pen type that is hashed. It's a bit weird, too. The line I'm drawing is between captures of the mouse position and if I move the mouse really fast, I get an almost solid line, but if I move the mouse slowly, I get a hashed line.
View 10 Replies
Apr 1, 2012
I failed finding a really simple Windows FTP client that any user could use, that would just prompt the user for the host + login + password, then use OpenDialog to select one or more files to upload, and just let it go. Since this tool could be used to upload files up to 10GB, it must have solid support for resume. I checked a bunch of them, and found them way too complicated.So it looks like I'll have to write my own in VB.Net but I'm no stellar programmer.Does VB.Net provide a solid FTP client component? If not, are there other (free/affordable) controls I should know about?
View 4 Replies
Jun 9, 2011
I want when I color a shape ,that color does not wipe the background picture.I want it be transparent not solid :S I tried Opticity property :-/ but it is just for the whole form :icon_sad: ,it does not available for the color.
View 3 Replies
Feb 23, 2012
I am using word 2010 VBA to clean up a "dot matrix" looking report. One thing I want to do is replace a row of dashes with a solid line. I think the code would look something like this:
count strings = "-------------------"
for each strin (i)
select string
delecte selection
move up
insert solid line
next (i)
Or if it can be done as a find and replace all that would be even better, but I cannot find how to replace a row of dashes (text) with a line object.
View 1 Replies
Apr 1, 2010
url...it doesn't do very much for images without text. I am specifically trying to auto deskew an image of a book with solid edges, but minimal text.
View 1 Replies
Aug 23, 2010
I need to have a solid border around a series of comboBoxes. The properties for the control do not have a border. Is there a way to create one?
View 1 Replies
Jan 31, 2012
I see that the Line method is replaced with DrawLine, however; it seems like DrawLine must treated as an object as follows:
Private Sub Form1_Paint(ByVal sender As Object, ByVal e _
As System.Windows.Forms.PaintEventArgs) Handles MyBase.Paint
Draw a solid black line 25 pixels from the top of the form.[code].....
When I attempt to use this code (call it), I must somehow bring about an event, but I haven't found how to do that.How do I "call" this sub?
View 13 Replies
Nov 13, 2009
How can I programmatically reset my form background from a picture to a solid color. I have no trouble changing it to a picture or even changing it to another picture, but when I try to change it back to a solid color, it won't work.
me.backcolor=color.red 'OK
me.backgroundimage=my.resources.dog 'OK
me.backgroundimage=(none) 'error
me.backgroundimage=my.resources.none 'error
How do I reset it back to a color? It's stuck in a picture mode.
View 2 Replies
Jan 29, 2012
[URL] That way if the string that is not recognised that is passed to Color.FromName it returns a SolidColor of
Color.Black = Color.FromARGB(255,0,0,0)
That way, Forms and controls that only support SolidColors are supported.Installing VB6 on Windows 7?
View 15 Replies
Aug 22, 2010
I am graphing using Visual Basic graphics and it works. I would like to know how to draw a DASHED line instead of a solid line. Could someone help me with this?gphFormGraphics.DrawLine(Pens.Green, pt2, pt1)
View 4 Replies
May 16, 2012
I'm a huge music person (got my own lil record thing going) but I'm wanting to design a program that would make music in my way. I have a decent amount of background knowlege of Visual Basic and Java I'm just wondering how could I execute this whole project. The Project is making a MPC Sampler. MPC is a drum machine; a machine with buttons that once you press it that it will play a sound from a drum (ex: snare, kick, tom, ect.) . So I would want to make some pads on my program that each have their own sound. Total of 16 pads. Which the design wouldn't be hard to make nor would the functionality of it having the play back sound (in my opinoin it wouldn't be hard atleast). But the thing is I wanna map out these pads to number keys on the number pad or keyboard. I'm not so sure how to do that. But that's all the easy stuff...
Also finding information is making a sound directory. What I mean by this is that I want to make a User Interface that will open up a file directory of sounds and the user can select what "kick" or "snare" sound he may want for the kick or snare pad. I don't know how to do that or even know what to search; neverless I don't know if this whole project idea is a good idea for Visual Basic or another programing language.
Also LATER ON I am wanting to add a record and export function that alows users to..well...record and export their beat or instrumental ha. That doesn't seem too too complex (mainly due to the fact that all it needs to do is record the users key strokes and then show them and play the sounds, but obviously it would get more complex than that.)
Here is an image of one of many MPCs but one with a directory - [URL]
View 5 Replies
Jul 27, 2010
I have a class library written in .Net that I would like to make available to VB6/VBA. What I tried did not work (obviously as I am asking this question). Here is what I did:
I Created a Class Library Project in Visual Studio 2010 Express and put the code in a Class Module.I opened the project properties and went to "Assembly Information" and checked "Make COM Visible". I went to "Advanced Compile" options and targeted .Net 2.0 (it's very simple code).I then removed all references expect for "System".I built the project (no warnings or errors) and copied the DLL out of the Bin folder into C:WindowsSystem32 I ran RegSvr32 to register the DLL and got the error: The module "MyDll.dll" was loaded but the entry-point DLLRegisterServer was not found. Make sure that "MyDll.dll is a valid DLL or OCX file and then try again.
View 3 Replies
Apr 17, 2012
Just need help converting this .bat to vbscript. cd
[Code]....
Just need it to go to each user names directory when logging into a terminal server and removing all items in there respective folder. I'm assuming to user the UserString where the "user.name" is but not sure how to do this.
View 1 Replies
Mar 13, 2009
I've programmed in C# for the majority of my .NET career - now I'm working on a VB.net project - when debugging it drives me insane the differences of how the debugging works.two off the top of my head are
1) having to prefix my immediate window queries with ?
2) not being able to mouse over a GUID, I have to ?myGuid.ToString() to actually see the value is there a way I can make it behave like C#?
View 2 Replies
Jan 16, 2010
I'm an absolute beginner at programming and VB, and I'm starting a course in software development. We were given tutorials to do before the start of the course but I'm having extreme diffictulty with them because they're written for VB 6 and we were told to download VB2008 express since we're using that for the courseI got here? I understand basically what it does, but it gives errors in VB2008 and I can't get the add button to stay greyed out when there's nothing in the name field. I also can't get a message box to pop up when I click Add because 'answer' isn't recognised. I also don't understand what "Following code is entered in the .... event". What's an event, how do I enter it in it?
View 3 Replies
Dec 3, 2009
What I'm trying to do is make a MSN like rpogram where you can send Text form a Textbox to a listbox between 2 computers. I have read About TCP/IP connections?
View 4 Replies
Jun 9, 2009
If I For Example Made a New Control Like :
View 4 Replies
Aug 23, 2009
Where can I make a new form? Also, could I make it so the user can only see one but then it switches to the other one on a certain event?
View 2 Replies
Feb 16, 2011
I have made new MDIChild and with textboxes on the form. When the form loads...it will open data saved from a text file to the textboxes. However the data does not load from the text files. When i take out the code, it works fine...but it needs to be a mdi child...the code i'm using is
Dim NewMDIChild As New ViewCustomer()
NewMDIChild.MdiParent = Main
NewMDIChild.Show()
the form that I need to load the info is "ViewCustomer" and the mdi parent is "Main"
View 1 Replies
Apr 15, 2009
I'm making a non-rectangular UI and I've tried different approaches but still can't get the results I want. The following codes are for the user to move the form around.
[Code]....
View 10 Replies
Sep 25, 2009
I Have a simple notepad, and a toolstrip, inside the toolstrip, it has an option to find and replace the text in textbox one. I made a new form, inside that project, and named it find. Now how can I make it so that when they click on that toolstrip option it opens that form? Also, will I have any troubles being able to find the text since they are two different forms?
View 10 Replies
Oct 7, 2009
I used Microsoft Visual Basic 2008 and i am having trouble making it to where i can make a screen that a video can be played in. I mean i know i have to code it to call if from a folder but i do not know how to set up the form so i can make my own program. My teacher said that there used to be a thing where you just put in on the from and it did it for you is there a special thing you have to download to do that or do you have to actually go through and code it yourself. I do not want to be given code i just want to know the best way of starting my project whether it is making a thing so that i can play the videos
View 3 Replies
Mar 27, 2011
Im making a shooting game in visual basic 2008. I have two questions, and they're the two bits of code I just cant fgure out.
View 3 Replies
Dec 15, 2011
I have finished my proejct in vb.net with access database.making an exe for this with database.
View 2 Replies
Oct 28, 2010
I have created a project to update my applications; it is simply a form, with a progressbar and some other fancy stuff, which will check for updates via FtpWebRequest and download files if necessary. I have code it so that in order to use it for other applications I only need to change the ftp folder address and the .exe name for the main application to be started.
So the question is. Is there a way i can put that project in a dll so that I can simply pass it to my partners without having to pass the source and obviously have some way to change the ftp folder address and the .exe name like some kind of properties�.
View 8 Replies
Jan 21, 2011
I'm trying to bullied a simple cheap software to rise money.Any way, I managed to make a serial login form but the problem is I need it to appear only once pear purchase, meaning as soon as you enter it once, it will be saved and the login form wont popup when the program gets started again on the same PC. Here is my code so far:
ic Class Form11
Private Sub Form11_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
End Sub
[code]....
Also, how can I generate more serial codes?
View 2 Replies
Aug 19, 2009
I know I can use a container object so the vb code can create objects like buttons. My problem is that I can't make a random dim name in a loop. how can I just do something like this or create multiple instances dim a = 0 lp:
[Code]...
the problem is that I need a new dim for each object a text file tells my program to make.
View 1 Replies