Simeão's Q&A profile
Visual Basic Read files in a directory
Does anyone have a code sample of how to read files in a directory..what im looking to do is read a file name and run checks to verify its authenticity..then excute it...also looking for a code that would read the file name..for example files are called WW487487.exe WW154874.exe WW244874.exe I need code that will only read the numbers not the "WW" or the ".exe" Thanks in advance! Well if you want to read all file in adirectory, this might ...Show All
Smart Device Development Get Image Data of Pocket PC Camera
Hello... I'm a newbie! I want to know if it is possible to capture the data of a pocket pc camera Maybe with C#... or another language Can you help me Regards, Jacqueline. You should contact Pretec and ask for a camera API. Unfortunately, without an API you can't even get a single pixel from this camera programmatically. ...Show All
Visual Studio VSS remote access
in IE input http://localhost/SourceSafe/VssService.asmx , display error: HTTP error 404 - files or paths not find. You cannot browse the service with IE by default - and this is by design (see this post for more info http://forums.microsoft.com/msdn/showpost.aspx postid=1130&siteid=1 ) You should have gotten a different error message though "Server Error in '/SourceSafe' Application. Req ...Show All
Visual C# Storing Two Data Types in a List
Hi everyone, I'm trying to add two types of data to a list object. For example, let's say I want to add a Node object and a String object: private static List< Node , String > nodeList = new List< Node , String >(); The above code returns an error. What is the best way to handle a situation where two data types need to exist as the contents of a list Thanks! Kirupa struct myStruct { public Node nod ...Show All
Visual Basic Click-Once is not so simple...
ok, here's the problem: i'm using VB.NET 2005 beta 2 all working nicely. i've made an app, debugged it and it runs all nice from the normal exe. but when i went to publish it, it seemed to work all fine until the installation page opened. i try to launch it but it says the "application is improperly formatted". clearly it isn't because i have run the bin exe many times. now, not only does the publishing not work, but when i go back to run t ...Show All
Visual C# Async Programming...
I've recently made a wrapper class for .NET Sockets and I wanted to be able to make a sub routine that looked something like this... public void test() { socket.Send("Whatever"); //Do some kind of Async call or sometthing and wait for reply from server/client without locking up UI thread... //Handle reply } You can execute it on a other Thread: ...Show All
SQL Server IF Command
Hi All, I am having a few problems writing a sp for the sales team, I have to display a target figure from a customer dates start_date target_year1 target_year2 target_year3 target_year4 target_year5 01/01/2004 100 150 120 150 170 01/01/2003 90 20 30 30 30 the start date for each customer is different so the target year 1 ,2 ect will be different time peri ...Show All
Visual Studio Team System How "State Change Count" Measure Work?
Hi, I want to know how the "State Change Count" Measure work I can see from the cube definition that, it comes for the "State Change Count" column of the "Work Item History" table in the TFSWarehouse database. When I create a Work Item, I see two rows being added in the "Work Item History" table. But when I change the state of the Work Item (for example Active to Resolved"), I do not see any ro ...Show All
Visual C# How to create a trial version of my Software
Dear All, I ahve created a .msi project and I want to create a trail version of my software for 30 days . How can i do that or is there any need to program my software for 30 days Plz help me in this regard Regards, Anil Dhiman Hi, One way is to write the code in program which when first time run will write an incripted file taking the current date from computer and add 30 days, and then everytime progra ...Show All
Smart Device Development Bitmap to Array (CF v1.1)
I need to export pixel data (RGB values) from a Bitmap object to byte array (in CF v1.1). How can I do that on pocket pc Thanx! Well, in CF1 I'm not sure how to do it, but in CF2 it became a lot easier with the LockBits function. http://www.bobpowell.net/lockingbits.htm http://msdn2.microsoft.com/en-US/library/5ey6h79d.aspx ...Show All
SQL Server Problem in Initialize SQL2005 Reporting Service
I have installed SQL 2005 Standard Edition downloaded from MSDN web site and selected to install all components, install database engine on default instance and default reporting service configuration. After installation, I found that the initialization option in "Configure Report Server" page goes disabled. I checked the log and it has "INFO: Evaluation copy: 0 days left" at the end. I am sure that this server have not installed any pre-re ...Show All
SQL Server MS Time Series: Absurd predicted number when stdev = 1
I have noticed that for the prediction of MS Time Series, the number is usually absurdly large when the standard deviation is 1. I always get a bunch of them. Does anyone have any clue about what this means In most cases, we stop predicting with the time series algorithm when we detect that predictions are not stable, so you'll see NULL values for future steps beyond a certain number. You might be hitting a corner case where this doesn' ...Show All
Windows Forms how to set default value for a textbox?
In microsoft access, there is a property to set default value. Is there any way to set the default value for the textbox in vb 2005 to set current date for the default (if not use datetimepicker), so when a row is added, the value for a field is today(). Hello, if your textbox is bound: before you add the new row you must set the default value of the column to which the textbox is bound to 'Now' if your textbox is not bound: ...Show All
Game Technologies: DirectX, XNA, XACT, etc. DirectX 8 SDK Library link problem
I have a problem similar to that shown on the Raxvan thread and reply from Ursus Zeta , I have loaded DirectX 8 SDK from a disk included in the book 'The Zen of Direct3D Game programming' (must update to Ver 9 soon) I have linked the library files dxguid.lib, d3d8.lib, d3dx8.lib & xinmm.lib to a Visual Studio6 C++ win32 project but cannot get the project to compile because the last three library files will not OPEN (I think they have be ...Show All
Visual C++ CFrameWnd::OnSetPreviewMode ASSERTs in VC 2005 but not VC 6.0
I have a VC++ 6.0 MDI project that uses a class derived from CPreviewView to provide some mildly enhanced Print Preview functions. The class is invoked according to the MSDN documentation by calling DoPrintPreview. In Visual Studio 2005 the program asserts in Debug mode at the last line of this fragment from winfrm.cpp: void CFrameWnd::OnSetPreviewMode(BOOL bPreview, CPrintPreviewState* pState) { ...etc... if (bPreview) { // Ente ...Show All
