Topics
-
- 0 replies
- 840 views
hi all... this is my 1st post and i have a problem.... im using Mysql with VB.net i have a table in mysql and i can receive all data from that table into a datagrid and display it... but i would like to use each row in the datagrid... ie: for each row in datagrid1 Query() but i am unsure how to do this... this is how im filling a Datatable... Public Sub connectionmysql() Dim conn As MySqlConnection conn = New MySqlConnection conn.ConnectionString = "Database=" + info.DB + ";" & _ "SERVER=" + info.server + ";" & _ "UId=" + info.Uid + "; Password= " + info.pass + ";" Dim commandtext As…
Last reply by TADS, -
-
- Administrators
- 1 reply
- 937 views
We currently use Windows server for hosting ColdFusion and JSP. We will be getting SharePoint next year. I assume we can still link our ColdFusion and JSP applications to SharePoint with just basic links? Also it looks like anybody can create web pages with SharePoint but what if you need to create a Web Application with database backend? Would we have to learn .Net to do advance web applications in SharePoint?
Last reply by PlausiblyDamp, -
-
-
- Administrators
- Leaders
- 3 replies
- 2.9k views
Re: Call Paint Event I got an interesting one. For some reason the when i call the refresh method from a plugin construction it throws the crossthread error and the lot crashes. But when i call the invalidate method it actually works fine. Now i am realy interested why the invalidate method doesnt throw an exception. I mean, they both refresh the screen but one seems crossthreadable and the other not. Anyone know why that is? (I do call the method from a thread in the plugin so the fact that the error is thrown is clear to me) Greetings, CrashPilot edit: split from http://www.xtremedotnettalk.com/showthread.php?t=70168
Last reply by snarfblam, -
-
-
- Leaders
- 2 replies
- 1.7k views
I'm putting together a class library and one of the functions within it is to update a local database with information obtained from a web service. I'd like to have the option to show the progress of this so have also put a small form in the library with a progress bar on it. Everything works but I'd like to make the progress bar more reliable and smoother. It's the same old problem of tying up the UI thread with an intensive operation so the UI updates aren't done. With a windows form application I'd have gone straight for a background worker. However with a class library this if different and I'm not sure how to approach this/whether it will work. Windows Fo…
Last reply by snarfblam, -
-
-
- Administrators
- 2 replies
- 3.1k views
How can I send an email automatically notifying me that the previous email sent arrived its destination? Can the Try-Catch do the job? Or there is a way of configuring an email object to do this? Thank you
Last reply by EFileTahi-A, -
-
- 1 reply
- 911 views
hi, I have html source code in file.txt. I want to read a keyword from it. for example html Source: ======================= <base href="http://bytes.com/" /><!--[if IE]></base><![endif]--> <title>How to save and read very big Array Value to/from file in VB.NET? - Visual Basic .NET answers</title> <meta http-equiv="Content-/> ==================== I want to read the title from above html source from <title>How to save and read very big Array Value to/from file in VB.NET? - Visual Basic .NET answers</title> and save it in another file. plz if any one have any idea or any linkes will help me .... plz hel…
Last reply by mark007, -
-
- Administrators
- Leaders
- 4 replies
- 3.4k views
hi, im trying to make a simple search tool for an array read from a .txt file. The .txt file has two types of items, movies and games and looks like this for example: M0001;DVD;The Hours;Nicole Kidman, Meryl Streep;Stephen Daldry;10 G0004;PlayStation 2;Spy Hunter 2;12 the file is read in a FileReader class which has an if statement specifying whether the item is a movie or a game. The 'Movie' and 'Game' classes are inherited from a class called 'RentalItem'. In the method im writing that does the actual search i have this and it works fine: rentalList = new ArrayList(); rentalList = FileReader.readRentalItems(); public string QueryMovieItem (s…
Last reply by userfriendly, -
-
-
- Administrators
- 2 replies
- 3.3k views
I am trying to tie a sqlDatasource to a Stored Procedure. The stored procedure looks like... dbo.Select_SomeData_BySuperAssemID (@SuperAssemID as int) Select * From SomeTable Where SuperAssemID= @SuperAssemID Then the asp page is accessed via ... Response.Redirect("DataPage.aspx?SuperID=" + ID); In the code behind I can access and use Super ID no problem, but when I try to set up the SQL data source to access super ID it returns nothing. My gridview is bound to the following control. <asp:SqlDataSource ID="sqlSubAssemblies" runat="server" ConnectionString="<%$ ConnectionStrings:MyConnStr %>" SelectCommand="Select_S…
Last reply by MTSkull, -
-
- 0 replies
- 2.4k views
Hi, I have developed a project in VB.net and created a installer for the project- My project needs QuickBookSDK.exe to be included in the installer... I have tried both alternatives one bootstrapping and (Checking)adding it in the Prerequisites of project properties. Second I have even tried adding merge modules and running the setup but all in vain.. My application run good on my system --but on my client system when I try to run I don't see the quickBookSDK.exe in add or remove programs.. and my application fails to work properly.. (I tried manually installing the QuickBookSDK.exe on the client machine and my application works perfectly--which is wrong bec…
Last reply by K9Developer, -
-
- Administrators
- Leaders
- 15 replies
- 2.2k views
Hey guys, I'm having a few problems trying to make this. I'm trying to make a minesweeper type game for a class project and my teacher really isn't helping me out at all, so I'm helping I can get advice from some of you guys. Now I'm not a excellent programmer but I know a moderate amount of things for VB, but not enough to help me with this. For my game so far I actually created the form to look like the original minesweeper and also created 81 buttons, which I'm sure was a stupid idea. To tell you the truth though, I have absolutely NO idea what to do, I'm lost. I've been doing research and trying to find minesweeper games online to see how the code works, but when …
Last reply by snarfblam, -
-
- 0 replies
- 1.9k views
Re: Export dataset to Ms Access .mdb file i am also getting error "- cat.Tables.Append(adoxTab) 'cat.Tables.Append(adoxTab)' threw an exception of type 'System.Runtime.InteropServices.COMException' void {System.Runtime.InteropServices.COMException} Please let me know what to do for this
Last reply by wan2learn, -
- 3 replies
- 5.1k views
Hi. Im storing the results of my textarea on my webform to a SQL server database. I have written the following bit of code to remove the chr(10) and chr(13) and replace them with vbcr. strBody = request.form("txtNews") strBody = Replace(strBody, chr(10), "") strBody = Replace(strBody, chr(13), "$$") strBody = Replace(strBody, "$$", vbcr) I hoped this would then allow my item to be viewed with the line breaks in the right place. However, when I view the results as the news item on the webpage, it is on one continuous line. If I go to the edit page and view it in the Textarea editor, it is correct on separate lines. I wa…
Last reply by elizas, -
-
- Administrators
- 2 replies
- 834 views
Hi, I have a dynamic path and every time I want to check it and if it is the root of drive warn user, so I am doing this: If MyPath = Directory.GetDirectoryRoot(MyPath) Then 'Warn user End if MyPath is returned from a control like FolderBrowseDialog so I'm sure it cannot be an invalid path... Is it the best way you think?
Last reply by usvpn, -
-
- 0 replies
- 1.1k views
I have a RTD server in the form of a dll that I want to deploy without using the registry and DCOM. RTD is an interface to get real-time data into Excel. I've created a manifest using GenMan32, but it doesn't deploy. I've embedded a manifest using GenMan32, but it doesn't deploy either. Must I put the files in the WinSxS folder? Must I add admin rights in the manifest? What am I doing wrong? Regards.
Last reply by Panzram, -
-
- Administrators
- 2 replies
- 1k views
Windows 7 has a new feature which shows ProgressBar in TaskBar. There's a Windows API released by Microsoft which is a wrapper for .NET applications that allows .NET developers use these functions in their apps. I am not going to use it and just wanna know if there is any new functions in .NET Framework 4.0 RTM which allows us to use such functions naively in .NET?
Last reply by Abhinav Gaddam, -
-
- 0 replies
- 2.9k views
I am trying to automate a travel sheet printing application for our manufacturing process. This app will read in data from an order spreadsheet for each unit to be built, plug the data into a Word document (using FormFields), and PrintOut a copy of that travel sheet for each unit. The problem that I am running into is that some of the orders may have a few thousand units in it, and the printer would run out of paper before completing the order. Is there a way to determine when the printer is out of paper through my program so that I can alert the user instead of relying on them to constantly check the printer to see if it stopped because it was out of paper vs. finishing …
Last reply by Pyth007, -
- 1 reply
- 3.6k views
****THIS IS A ASP.NET Web APPLICATION NOT WINDOWS FORMS************* Problem/ Question: To search a child node anywhere in the treeview. I need to type a Node name in the textbox and search the node name in the Treeview and highlight the node name on finding. I don’t how to do it. I tried for sometime but didn’t find the solutions.So, can any body give some idea ? FYI : I have created a ASP.NET Web application treeview to populate Parent nodes and corresponding child nodes for each Parent Node. The user can add any number of child nodes in the treeview. Given below is the code that I have done till now for populating the treeview for any number of childs and child lev…
Last reply by Mikecrosoft, -
-
- Administrators
- 8 replies
- 1.9k views
I posted this over at the Syntax Forum, but after reading the main thread I believe I should have posted it here. It would be great if someone could help me delete the previous thread. ( http://www.xtremedotnettalk.com/showthread.php?t=103414 ) This is what I wrote over there: Hi! I used to be an active member on this forum under a different username, but I have forgotten the login details.. Glad to be back!! Anyway, I have been trying to "decipher" what this piece of C# code means in Vb.Net: className.OnProcessUpdates += new ClassNameControl.ProcessUpdatesDelegate(this.DoSomething); Now I have tried many things. This is what a converter provides me wi…
Last reply by breakpoint, -
-
-
- Leaders
- 5 replies
- 4.3k views
Hi! I used to be an active member on this forum under a different username, but I have forgotten the login details.. Glad to be back!! Anyway, I have been trying to "decipher" what this piece of C# code means in Vb.Net: className.OnProcessUpdates += new ClassNameControl.ProcessUpdatesDelegate(this.DoSomething); Now I have tried many things. This is what a converter provides me with: AddHandler className.OnProcessUpdates, AddressOf Me.DoSomething Which is completely wrong. Converting back gives me System.EventHandler in C# I have also tried this format: className.OnProcessUpdates = New ClassNameControl.ProcessUpdatesDelegate(AddressOf Me.DoSomething…
Last reply by breakpoint, -
-
-
- Administrators
- 1 reply
- 1.6k views
I really have no idea why there's no built-in function to detect platform, I need to know I am running on x64 or x86? Even in .NET Framework 4.0, there's no such thing! Well, my application is set to "Any CPU" Can I use: If IntPtr.Size = 8 Then 'x64() ElseIf IntPtr.Size = 4 Then 'x86 End If And make sure it will work OK on all conditions? Or you know a better way? Thanks
Last reply by PlausiblyDamp, -
-
Who's Online 0 Members, 0 Anonymous, 50 Guests (See full list)
- There are no registered users currently online