Topics
-
-
- Administrators
- 3 replies
- 1.3k views
Ok. This is my first time working with SQL Server. I was under the impression that using a SQL Connection that you dont need a provider for it. But i get this error. An OLE DB Provider was not specified in the ConnectionString. An example would be, 'Provider=SQLOLEDB;'. So why does it do that. Dim da As OleDb.OleDbDataAdapter Dim oSQLConn As SqlConnection = New SqlConnection oSQLConn.ConnectionString = "Data Source=(local);" & _ "Initial Catalog=dbCustomers;" & _ "Integrated Security=SSPI" Dim myCustomer As New CCustomer With myCustomer .Fi…
Last reply by AFterlife, -
-
-
- Moderators
- Leaders
- 2 replies
- 788 views
Hi Where is the dialog gone in VB.NET 2003 that let you change the version number, title, copyright info etc. for the EXE? this was in vb6 but seems to have disappeared :confused: thanks
Last reply by snarfblam, -
-
- 1 reply
- 913 views
I am using Cr10 with VB .Net 2003. Everytime I send new data through the OLEDB 4.0 connection to the report viewer the memory useage increases. It seem's to not dispose of the last held data. If I set my report object to nothing then this will clear the last used data but I cannot use close to release the connection to the database the database will remain locked. If I first close the report object then I cannot release the object with Nothing. Can somebody give me any ideas of what to try.
Last reply by Data Danger, -
- 1 reply
- 855 views
I want to know if programming a software for a touch screen is the same as programming for a mouse click. What i mean is when u program something that u click on it with youre mouse is equal tu youre finger on the screen.
Last reply by IngisKahn, -
-
- Leaders
- 4 replies
- 1.1k views
I need to limit the amount of characters that are able to be put in the textbox depending on what they pick. I thought you could use textbox1.maxlength= the number here But they doesnt work. Any ideas?
Last reply by kahlua001, -
-
-
- Leaders
- 4 replies
- 1.2k views
How can I make a running VB.NET application appear in the taskbar? As always any help given is greatly appreciated.
Last reply by snarfblam, -
-
-
- Leaders
- 1 reply
- 1.2k views
Hi all, What is the default font for text used by Windows XP!!!! Mike55
Last reply by snarfblam, -
-
-
- Leaders
- 3 replies
- 5k views
Hi all Does anybody know if it is possible to add a checkbox control to a listbox?? Mike55
Last reply by snarfblam, -
-
- 4 replies
- 3.4k views
Hi, all I want to stop starting windows service if any error found during start. How can I do? public class DLSWinService : System.ServiceProcess.ServiceBase{ ... protected override void OnStart(string[] args) { ServiceController sc = GetServiceController("DLSWinService");//this method returns right controller. sc.Stop(); // this doesn't work..!! } } Is there a way to cancel starting and leaving service stopped.?
Last reply by goodmorningsky, -
- 1 reply
- 769 views
When modifying in form design mode and switching to code view,.. code in initializecomponent gets truncated. cut and paste operations in editor don't paste in the cursor location. automatic member drop downs are inaccurate. color coded text not working. Has this ever happend to anyone?? Any ideas??? or is my project totally hosed?? :o Thanks, PePe
Last reply by PePe, -
- 4 replies
- 2k views
Anyone know of a converter that will convert from .3ds to .X without and keep the animation data? I have microsofts conv3ds.exe file which works ok for files without animation but when you specify that you want to keep the frame data ie conv3ds -A file.3ds(in dos) it throws an error and the .X file contains no frame data. any ideas?
Last reply by ThePentiumGuy, -
- 1 reply
- 720 views
Hey, I am looking into starting to use a profiler. If anyone has any experience into using profilers...any suggestions as to which ones are better? I was thinking about the ANTS profiler Thanks in Advance Himanshu
Last reply by linesh, -
- 0 replies
- 704 views
Is it possible to do a hyperlink on a crystal report ? If so how? Thanks in advance
Last reply by neela, -
- 0 replies
- 1.5k views
Hello I am wanting to use the MS Agent with my app but am getting the message "Library not registered" each time I drag the MS Agent Control 2.0 from the toolbox onto my form. Note that I got the MS Agent Control 2.0 into the toolbox by going to COM Components tab of the add/remove items window and then checking MS Agent Control 2.0. I have Windows XP Home and have installed the core components of MS Agent repeatedly. What am I doing wrong?? Thanks
Last reply by fsuorange2, -
-
- Administrators
- 3 replies
- 2.1k views
We have a .NET application that is partly VB.NET(1 component) and partly C# (2 components) and seems to use a lot of page files. The appln. is system and memory intensive (does continuous drawing). The PF usage in the task manager grows exponentially while running the appln. and after a point the PF usage reaches the limit and get an UnKnown: System.OutOfMemory Exception. This crashes the application. Are there methods to reduce PF usage for an appln ? Thanks in advance, Linesh
Last reply by PlausiblyDamp, -
-
-
- Administrators
- 3 replies
- 1.2k views
Hellow, I'm using forms authentication in the web.config file to secure a folder. but the page I secure is an frame based page. topframe leftframe and middelframe. The problem is by using forms authentication I get the loginscreen in all the 3 frames. Is there a way to solve this? greetings
Last reply by kahlua001, -
-
- 4 replies
- 1.1k views
I want to create a control that has a panel in it (like the tabpage control) or in some cases a wizardpage where the page itself isn't selectable, but the internal panel is. When you select the page or the control in designer you can see the internal panel selected (locked) well i want to do the same my guesse is i got to do something with a parentcontroldesigner but i can't seem to select the internal panel. please look at the image i added in the attachment to see what i mean
Last reply by Engine252, -
- 2 replies
- 1.3k views
What is the correct way to transfer a web app to a different computer (server). What I've been doing up to now is just editing the solution file, but Im having some problems with the solutions reading files from the original server.
Last reply by mike55, -
- 4 replies
- 2.3k views
Hello, I have been reading up on how to get vb.net to use oledb to access a mysql server. I saw a post saying I can use this: http://dev.mysql.com/downloads/connector/net/1.0.html So I installed that (I didn't configure anything past that.. like I normally would with DSN). And here is my code: Dim FirstName Dim MyConnection As OleDbConnection Dim connString As String = "Provider=MySQLProv;" & "DRIVER={MySQL ODBC 3.51 Driver};" & _ "SERVER=192.168.254.7;" & "DATABASE=test;" & "UID=picture;" & _ "PASSWORD=frame;" & "OPTION=3" MyConnection = New OleDbConnection(connString) MyConnection.Open() 'MyCommand.Connection = MyConnection D…
Last reply by trend, -
-
- Administrators
- 3 replies
- 1.2k views
Hi, I have a table where I wan't to remove the Primary key. I run the sql command of "ALTER TABLE table_name DROP CONSTRAINT Primary_key" The error I get is "CHECK constraint 'Primary_Key' does not exist. When I added the Primary key, I used the sql command of "ALTER TABLE table_name ALTER COLUMN column_name varchar(30) PRIMARY KEY" This added fine because I now cannot drop the column. I am trying to find the constraint name so I can delete it. I have run code to try to find the constraint name. This is what I have run: Dim cs As Constraint For Each cs In dsBudget.Tables.Item(0).Constraints Console.WriteLine(cs.ConstraintName) …
Last reply by SimDuck, -
-
Who's Online 0 Members, 0 Anonymous, 65 Guests (See full list)
- There are no registered users currently online