Mark1916's Q&A profile
SQL Server importing XML/ASCII files to SQl database using VB express
Hi everyone, I have to write a program in VB to receive the read data from a RFID reader for my graduation project.The problem is I am not a computer science student so I have only general info on programming. I created my DB in VB express but I couldn't find out how to send the read data (that will be either in XML or ASCII format) to my database...The read data will be transferred to my computer by the RFID reader's software but after that I don'T know how to transfer it to my DB.As I know I have to use commands like read.xml etc,but no idea how write the complete program. I checked the forum and couldn't find the answer,sorry if someone already answered my question and I missed it. Thanks... Can ...Show All
Software Development for Windows Vista Handle Workflow Versioning
I have a situation where I need to be able to keep different workflow versions running. Eg WorkflowVersion1 is started and after going through several states is persisted. Then, I make drastic changes to the workflow and a WorkflowVersion2 is started and later persisted. Now, I want to start up and continue WorkflowVersion1 and continue running it as though WorkflowVersion2 was never created. How do I do this I have tried installing both versions in the GAC but I still get errors. I believe that WorkflowVersion1 instance tried to reload as WorkflowVersion2. I need this because in some cases, I cannot wait until all running workflows are completed before creating a new version of workflow. Haven't been able to get any good answe ...Show All
Visual Basic Limits on Memory Use?
Hi all, I was testing the VB2005 Express and decided to create a large array in the IDE. My 32bit XP Pro machine has 3.5GB available and I thought I'd check to see how much I could use with VB. I understand that there is a 2GB process limit, but I thought I just check that out. My code: Class Form1 Private Sub CreateArrayToolStripMenuItem_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles CreateDataTableToolStripMenuItem.Click Dim bigarray(1000000, 250) As Single End Sub Private Sub ExitToolStripMenuItem_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ExitToolStripMenuItem.Click End End Sub Private Sub Form1_L ...Show All
Visual Studio logon question
i've made a report in crxi with an oledb conection, microsoft ole bd provider for oracle then i use vs2005 to take the report to web, everything works fine but when i change the connection of the report to oracle server i received and error of connection . could someone tell me why ...Show All
Visual Basic vb6 upgrade wizard error - OLE_E_CANT_BINDTOSOURCE
When I run the VB6 upgrade wizard in Visual Studio 2005 I get an error. It is not related to the application I am upgrading, because I even get the error if I run it on a "blank" vb6 app. I've re-installed, and still no luck. The entire error reads: Unexpected exception occurred during upgrade engine operation: Not able to bind to the source (Exception from HRESULT: 0x8004000A (OLE_E_CANT_BINDTOSOURCE)) I don't have the Wow6432Node key. And the problem is still there. After a bit more research / hacking (using the great Regmon log) I've found that my problem was fixed after adding these missing keys; [HKEY_LOCAL_MACHINE\SOFTWARE\Micr ...Show All
Visual Studio Express Editions printing RTB
How do i get my application to print the contents of the RTB , does any 1 have the code ‘ Posted by Nobugz ‘ http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=1044135&SiteID=1 Imports System Imports System.Text Imports System.Drawing.Printing Imports System.Windows.Forms Imports System.Runtime.InteropServices Public Class RichTextBoxPrinter '--- P/Invoke declarations <StructLayout(LayoutKind.Sequential)> _ private structure CHARRANGE Public cpMin As Integer Public cpMax As Integer End Structure <StructLayout(LayoutKind.Sequential)> _ Private Structure RECT Public Left As Integer Public Top As Integer Public Right As Integer Public Bottom As Integer End Structu ...Show All
Visual Studio uninstall .NET Framework 1.0 Servicepack 3
I want to uninstall ".NET Framework 1.0 Servicepack 3" After I installed it during bootup or screensaver mode, it always goes to a login screen. I don't like that. I like to turn on my computer and it boot all the way to windows and then start my startup items. I don't like to have to walk back to my computer to hit my name in the login screen just to boot up. I am pretty sure it was the .NET Framework 1.0 Servicepack 3 update that did it. This is not in the control panels install/uninstall. How can I uninstall it Thanks im sure it wasnt .NET 1.0 SP 3 that did this. its easily undoable in terms of making your desktop boot straight into Windows without requiring login details. howev ...Show All
Visual Studio Express Editions how to make auto numbers?
hi......how to make an auto numbers i'm creating a ticketing system which the ticket starts at smp-2000(textbox)... when i create another ticket the ticket will now increament to 1(smp-2001)....and so-on, and another thing once i close my app and open it... the ticket will now continue the count(not back to smp-2000 again) You’re creating a system and i presume you stores all transaction happened. You can store it on your database so you can retrieve your most recent number and continue your number as you go on with your daily transaction. or You can create another text file where it will store the most recent value of your auto-number transaction Good luck ...Show All
Visual Basic ProgressBar in VB.net
Okay, I have a progress bar that I want to use to track the reading of a text file and the creation of a CrystalReport. The file size will vary from .txt to .txt. How would I set this up I have read many things online about the progress bar but everyone is setting their ProgressBar.Maxiumum to a static number, I need mine to be dynamic based on the file size. After the file has been completely read and shows 100% on the ProgressBar, I want it to reset itself and show the progress of the CrystalReport being generated. Please anyone HELP me!!!! Im lost! Check my replies in this topic - using a percentage (0-100) is just a lot easier and more dynamic: http://forums.microsoft.com/MSDN/ShowPost.aspx Post ...Show All
Windows Forms listview activate row event in user control
Hi all, i created a user control that contains a listview and i will use the activate event of the listview to do different things based on the windowsform that the user control in it..... the problem that the listview events doesn't appear in the user control when when it is on a form ....... so is there a solution for this thx Let's suppose that when designing your user control, you added a ListView control named listView1. Now, listView1 is a private member and all its properties and events are hidden. To make it available at runtime to the user of the form, all you need to do is add a public property to your custom control that returns the listview control to the user so he/you can attach event handlers to its events ...Show All
Windows Forms Merging menuItems of MDI child into parent
I lost 2 hours searching how to merge menuItems of MDI child into parent. Finally it works, the child menuitems are merged BETWEEN the menuitems of the parent. But now I have still one problem, the child menuItems are merged in reverse order. I did read st about this, but I can't find it again. Can somebody help me ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Cross-platform development question
Hi guys! I intend to make an application and deploy it on PC and XBOX. I want to know how do you want me to do it I see some ways: I can copy my code in other directory and change references to Compact Framework. As a result I'll have two copies of my code. It's the worst alternative, isn't it I can use only Compact Framework even on PC (if it's possible); Something else What is the best way to do it Jim Perry wrote: Develop the code base that will exist in both projects in a 360 project, create the Windows Game project and link that code in then add whatever PC specific code you need (networking, WinForms, etc). Yes, I would like to have cross-platform modules (codebase), Xbox-s ...Show All
SQL Server Security got messed up somehow
When I try to view my report manager from the computer that SSRS is installed on, I cannot do any administration on it. How can I get this back Here's some more info: I browse to http://localhost/reports on the machine and it only shows links for "Home", "My Subscriptions" and "Help". there are no options to add a new folder, set up security on the root folder or any admin functions. I looked into the HELP and it wasn't any... I am signed in as the administrator of the box so I should be able to access the administration. Also, NT Authentication is enabled on the site. ...Show All
Internet Explorer Development Document Complete event for multiple frames
Forgive a newbie-ish question. :) I find that with complicated multi-frame pages (e.g. www.cnn.com) I get a document complete event for every single frame. Most of these are ad frames of course. Is there a way to obtain the "real" URL of the site, i.e. www.cnn.com in this case, without having to deal with all the other frames Alternatively is there a status flag that identifies the final frame, or is it safe to assume that the last frame that I receive notification of is the "real" site frame I have also found that with both IE6 and IE7 I occasionally never receive a document complete event for the "real" frame, in other words I get a dozen or more ad-based frames and nothing else, and yet the site correctly ...Show All
Visual C# Reinstall creates multiple entries in Add/Remove Programs
Hi, I have an app that I have compiled several times to an installation program. In VS2005 I have DetectNewerInstalledVersion = true and RemovePreviousVersions = true. Each time I compile I increase the version slightly so I can run the setup without error, but when I do all these things, after installing different upgrades several times I see new entries into Add/Remove Programs. Is there something I can do in Visual Studio to correct this Mario, You are right, it is completely counterintuitive!! I have a VS2003 WinForms app for which I am providing constantly newer versions to the folks who are testing it for me. I want the installation to be simple: Just one the new MSI file and have it install over top of the old installation. To ...Show All
