Hector Urizar's Q&A profile
.NET Development How to put a array of bytes in Access database
Hi all I want to store and retrieve an array of byte (of size 120) to a table of MS Access. What will data type of field in Accessto store that and how to do that in say C# Please help Amir Similar questions have been posted before. These two articles are pretty good: http://support.microsoft.com/kb/308042/en-us http://support.microsoft.com/kb/321900/en-us ...Show All
Windows Forms Delete later versions in setup project (msi)
Hi Is it possible to delete later versions in an msi My problem lies here. At first our program was in ver. 0.x.x. But then when we enabled RemovePreviousVersions it wouldn't install because version was not between 1.0.0 and current version. To enable this, the current programmer gave it versionnumber 100.x.x. Now the program has became 1.2 - but in the setup it says 101.2. Is there any way i can write in the setup project to uninstall the installed version, regardless that it's version is 10x.x and the software im trying to install is only 1.2. I hope somebody has some input - true or false. /Anders ...Show All
Smart Device Development WM 5 on emulator
How do I run WM 5 on the emulator do I need to get the WM 5 image if so then where can I get it and what is the installation process Thanks. Carl, I have the same problem on one of my machines, the other machine(s) work fine. Did you get a resolution ...Show All
Visual C# Save
Hi how do i save additional text to an open file (not Save As)without displaying the save file dialog. jbattat Unfortunately no. I'm pretty busy at the moment. I bet you'll figure it out pretty soon, as it seems like a fairly trivial task. Hope you get it working! ...Show All
Windows Forms Annoying GDI+ Window
I've encountered an odd problem that seems to have started when I ported my C# application from VS2003 to VS2005. The application is intended to run as a RunOnce program, and has a simple GUI with two buttons and two textboxes. The problem I'm having is that although one of the textboxes is set to have focus when the program starts, there is an annoying GDI+Window that seems to have focus instead. I don't actually see the window but if I alt-tab it shows up in the application list. If I hit alt-tab once, the intended textbox has the focus and the GDI window disappears (it no longer shows up with alt-tab). If the program runs standalone it wo ...Show All
Visual Studio Team System non-IT examples which are in link to its potential application in an IT environment
Hi, One of the several aspects of the IT project management is the Project Time Management. I would like know a few business examples which are in link to its potential applicaiton in the Project Time management of the IT Project management. I would like to know the business examples which we can compare or relate to the topics in the Project Time Mangement. Thank you. Hi, I didn't fully understand the question. Are you asking how you can use Team Foundation Server to time tracking Thanks, -Siddharth ...Show All
Visual FoxPro SELECT - SQL COMMAND again
In a situation like this where the first field is of type " C " and the second -- " M " SELECT RTRIM (field1), LEFT (field2,20)... INTO ARRAY arr1 The first function < RTRIM > appears to be ignored (the result has trailing blanks regardless) but the second < LEFT > seems to be doing fine. I am wondering if anybody has similar experience and how such needs should be handled. Greetings Your code should work, only the result is converted to a field with the same type as field1. You can see that it works by adding something to RTRIM (field1) like RTRIM (field1)+'-' for instance.... You need a ...Show All
Visual Studio 2008 (Pre-release) dragging control will immediately crash visual studio
Problem repro: create a new windows application fx project, create button on the grid, drag it to another location. After about 0.5 seconds visual studio throws an error and asks me if I want to debug. If i choose yes, I can get to this call stack: > ntdll.dll!7c901230() [Frames below may be incorrect and/or missing, no symbols loaded for ntdll.dll] milcore.dll!53216a95() milcore.dll!5316ba53() milcore.dll!530d9318() milcore.dll!530d5b1b() milcore.dll!530d5b38() milcore.dll!530d93c2() milcore.dll!530d9204() milcore.dll!530d9464() milcore.dll!530d94b3() milcore.dll!530d57be() milcore.dll!530d57c8() milcore.dl ...Show All
Visual Studio 2008 (Pre-release) Additional lambda expressions support
1- An easier syntax to combine functions: Given: int [] numbers = {0, 1, 2, 3, 4}; Func< int , bool > isOdd = i => i % 2 != 0; Func< int , bool > isZero = i => i == 0; Instead of having: Func< int , bool > isZeroOrOdd = i => isZero(i) || isOdd(i); We could have: Func< int , bool > isZeroOrOdd = isZero || isOdd; 2- Same thing but with expressions: Given: Expression<Func< int , bool >> isOdd = i => i % 2 != 0; Expression<Func< int , bool >> isZero = i => i == 0; It would be great to have: Expression<Func< int , ...Show All
Visual Basic Crystal missing from Clickonce Preq
I do not have Crystal available on the publish/prerequisite screen. Only Framework ans SQL Server. Anyone know why The app does not run on deployed machines. Thanks Hi, Here are the product differences of visual studio. As you can notice, crystal is not available on the express editions... Compare Visual Studio Editions . cheers, Paul June A. Domag ...Show All
Visual Studio 2008 (Pre-release) video tearing during animation
Has any one noticed video tearing on their monitor when playing a simple position animation For example, try the positionanimation project from the samples, and speed it up quite a bit. I'm seeing ALOT of tearing on screen! Seems to me there should be a way to sync up the playback rate with the video monitor, but i'm at a loss. I'm somewhat surprised that this is the case. It's fairly bad and i've got a fairly new graphics card and CPU, so that's not the problem. Anybody have a thoughts or feedback on how to possibly resolve this. Basically makes Winfx unusable for me (current) purposes. thanks, steve Tear ...Show All
Visual Studio Team System Scenario work item in CMMI MSF
The process guidance for the CMMI MSF refers to a scenario work item. This work item is in the Agile template but does not appear to be in the CMMI template. Will this be added in the final version of the CMMI template Or will the process guidance be modified Hello Ed, What version of TFS are you using The CMMI template includes the following work item types: Task, Change Request, Risk, Review, Requirement, Bug and Issue. I checked the Process Guidance document for CMMI in both Beta 3 Refresh and the latest bits and neither of them refers to the Scenario work item. ...Show All
Visual Basic Ordinary users can't update MDB files installed in same directory as app
I'm using Windows Installer 3.1 to put my VB 2005 application on user machines. The destination folder is C:\Program Files\my company\my app\. The application uses an Access DB that I have been putting in the same folder. The application and data are to be accessible to all users and the DB needs to be able to accept new data and modifications. All is well as long as the user is a power user or administrator. Ordinary users sometimes find that the default installation won't allow them to update any of the files since the folder, being under Program Files, is created without the necessary permissions. This yields the ever-popular "Ope ...Show All
.NET Development console output
I am making my first steps in C#. I am used to another object oriented language (VDbase plus) but not .NET. I designed a form under Windows Applications. There is a button on it. I want to print a short message to the console. I thought this function will do it on click. It does not print anything. The statement Console.Writeline ("hello") if placed in Main() body does not give any output either. I did set the Project->AppProperties->General->Output Type to "Console Application" and when I click on the shortcut to the released .exe file the windows form I designed as well as the command prompt window (Console) appear together but I ...Show All
.NET Development SingleCall or Singleton?
Yes, 2 copies of the same program. Have it in two separate folders. Just change the port within the config file for the two EXEs. Regards, Vikram ...Show All
