Thaina's Q&A profile
Visual Basic Check Whether The Barcode Reader Read A Barcode
May i know how to check the barcode reader has read a barcode and display the numerical value of the barcode and retrieve information accordingly from time to time. Must i use timer or is there any better way of doing it Thank you. As barcode readers are not standardize I would guess you should contact you specific barcode vendor to see if they have any components/libraries to interact with there hardware. I wouldnt have thought you would have to use a timer to read a bar code, but your not really that clear on the actual specifics of what your trying to achieve (I'm not sure what the time to time comment is all about). Either way contact hardware vendor first, you'll often find that they are pretty ...Show All
SQL Server One more Beginner Problem
I need to restore multiple tables in a sequence. I am writing separate data flow for each table restore. If there is any error in any of the table restore data flow, I want to write that error in a log file. I am writing a script component in every data flow, which will get error code & error description, that i am writing in the log fie. Is there a way to create a public reusable error logging script file, which we can call from every data flow and log only errors which we want Also want to confirm if the way i am doing is correct way or is there any easier/better way to achieve this It goes something like this: Try 'create sqlcommand specifying connection and query 'create reader ...Show All
Game Technologies: DirectX, XNA, XACT, etc. What is Game Studio Express
What is to be included with game studio express The Torque Engine Libraries An IDE Documentation I want to be able to make games on this system, but I don't want to have(although the ability to if need would be good) to use outside resources such as external libraries or engines. As a fresh, amatuer, student programmer, I am praying that XNA Express will be friendly to people WITHOUT industry knowledge. And lastly, do I need to own Visual Studio It will not include The Torque Engine, it will come with libraries simular to MDX (managed DirectX). XNA Studios is an IDE and there will be documentation but the docs may not be that great at the launch of beta. Managed DirectX makes DirectX easy to learn and use, you can have ...Show All
Visual Basic Intellisense Development for a VB.NET Desktop Application
Hello to all, I am looking for some way thourgh which I can implement Auto Complete property on a TextBox as the way intellisense works. But I got no clue how to perform that, can anyone please helpout... Talal Shah Bukhari Hi Talal, This forum is for questions related to the Visual Basic 2005 PowerPack downloads. You will probably have better luck getting a quick answer if you post your question in the Visual Basic General section ( http://forums.microsoft.com/MSDN/ShowForum.aspx ForumID=32&SiteID=1 ) or in the Windows Forms section ( http://forums.microsoft.com/MSDN/ShowForum.aspx ForumID=8&SiteID=1 ). Steve Hoag Visual Basic PowerPacks ...Show All
Visual Basic Graphics Flicker in Program
I am sure this has already been asked, yet I couldn't find any such thread that helped my case. In my game the character and objects flicker occasionally. The character flickers from being animated a lot, same with the objects. This is my paint code for the game: Private Sub DrawGraphics() Dim intCounter As Integer Dim background As New Bitmap( Me .Width, Me .Height) Dim rectClear As Rectangle background = Me .BackgroundImage 'Clear First If strCharacter(2) = "YesClear" Then 'the rectangles keep track of the graphic locations rectClear = rectCharacter(0) rectClear.X = rectClear.X - intAnimaLeft rectClear.Y ...Show All
Internet Explorer Development Touchpad Back Gesture Not Working In IE7
Hi, windows update just installed IE7 on my laptop and the Back gesture on the touchpad does not now work. The scoll up and down gesture still works. Any ideas on how to fix this problem It is a Toshiba Satellite laptop with an Alps Electric touchpad. Guy Yep...me too. C'mon Microsoft, this post started many days ago. Please get us a solution. Shouldn't have my hardware go kaput just b/c I want to use your latest software... heath ...Show All
Windows Forms Monitoring Changes on a Tab Page
In my WinForms app I have a tab page with a bunch of controls on it (e.g. textboxes, checkboxes, buttons, radio buttons, etc.). Is there an event, or a few events, of the tab page that I can monitor to see if any changes to any controls on the tab page have been made Robert W. http://pocketpollster.com There's things you can do, like iterating through the tabpage's Controls collection and calling AddHandler for their events. However, different controls have different events and different event handler signatures. You'll need some commonality between the controls (like "Click" is usually available). What specifically are you looking for when you say "anything happened" Also look into ...Show All
Visual C++ AT command response
hi! I'm a newbie in vc++. I'm doing a project that connects my PC and mobilephone via bluetooth. I have already connected my PC to my phone and have sent AT commands using serialport1->writeline("AT") but i cannot get the response. Any idea how sample codes or websites that can answer my problem will be of great help. Thanks! There are a couple of sample programs provided with VC that could help. The Platform SDK sample uses the Platform SDK functions and such. There is another sample, I think it uses MFC, that uses a VB control to do serial IO. There is also a Technical Article in the MSDN about serial IO. There are many samples in other web sites of doing serial IO. Serial IO r ...Show All
Visual FoxPro How to set File handle in Windows XP
I'm using foxpro 2 application. Is there anyone able to tell me how to set up the number of files handle in Windows XP. DOS o/s: I can put "Files=100" in config.sys Windows ME o/s: I can put "Pervmfiles=100" under [386Enh] in system.ini. Windows XP o/s : How to do Thanks. Under XP default files = 40. XP uses autoexec.nt and config.nt files located in windir\system32. You can either change that one or set it specifically for a program in its PIF. ...Show All
Visual FoxPro a newbie's question: how to mark columns in 2 databases with same values
Guys, I'm a newbie of foxpro and I'm bad in English. I'm using Visual Foxpro6.0. Now I have two databases A and B with three same fields: id, lac, cell. I want to mark the the columns in these 2 databases with the same values of id, lac, cell. What's the command to do that Thanks a lot. Alen Add a Field to the second table called "flag". UPDATE table1 SET MARK='Y' WHERE id+lac+cell IN (SELECT id+lac+cell FROM table2) I think this is what you are looking for… But I don’t see how this makes it easier for “Next time”. Why not Just Select what you need when you need it Dave M. ...Show All
SQL Server bigint as unsigned value?
The documentation seems to suggest that I can store either a signed or unsigned value in bigint. If I want to store an unsigned value how do I go about it nothing. actually. just be sure your not going out of range of unsigned bigint. to ensure that this things you can however put a constraints on a column that does not accept negative values ...Show All
SQL Server SQL Mail set up
Hi, I am trying to set up SQL Mail. Problem is our firm switched to a third party email provider. Outlook is set up with a profile that works fine from the sql box when connecting to the external exhange box, but I can't make it work from SQL Agent or xp_sendmail. Get the error: xp_startmail: failed with mail error 0x8004011d The profile is set to use Exchange Proxy Settings to get to the external mail server. Is there any other solution to get this set up to work with SQL Mail Using Outlook client 2003 SQL Server 2005 Asim. Thanks oj, but I know that very well. I have actually persuaded them to switch to Database Mail. The plan was to do that l ...Show All
Visual Studio Team System Copying the custom log file to drop location not successful
Hi All, I use a custom XML logger to log my build events. This captures all the targets, associated msgs, warnings etc. I need to drop this xml file to my drop location & I used the target <Target Name="AfterDropBuild"> <Copy SourceFiles="$(MSBuildProjectDirectory)\BuildLog.xml" DestinationFolder="$(DropLocation)\$(BuildNumber)" ContinueOnError="true" /> </Target> The issue I face here is that, there are more targets to be written after the AfterDropBuild is called. So the xml file that I copy to the drop location is incomplete. For example in case of a failure build there are targets ' CreateWorkItem ' & ' AfterOnBuildBreak ' which are a pa ...Show All
Visual Basic Access --> SQL
Not sure where to post this, so will start here. I have written an application which links to a MS Access mdb as a data source. I now need to migrate this to MS SQL. I have imported the tables into SQL ans recreated the views (query). However, I want to change the Data source in my VS2005 - VB app. Everything is the same name wise etc. Is there an easy way to achieve this and will I need to recreate those query (fill) that I have attached to the tables internally Any advice would be greatly appreciated. Many thanks in advance (i hope!) :-D Thanks Dman1. I used the wizard to add a data source and cant seem to edit it from the configuration. Can I manually edit the data namespace and if ...Show All
Architecture multi tier to one tier with WCF and Linq?
This weekend I have played a little with Linq, and in my current project we are using WCF (I love it). My current project is n-tier: per-table dal, dal, bll, sil, client. Well, looking to WCF and to Linq we will have something like this: per-table dal, dal --> Linq Bll will implement service interface. Sil --> user security will be into a dll that you can use through WCF (claims security). What do you think weekend paranoia :P Looks great ..but you will have to see how much LINQ is performant than traditional methods. http://DotNetWithMe.blogspot.com vikas goyal ...Show All
