r1zky's Q&A profile
.NET Development All versions of Framework?
I'm not sure which forum to post this question in ... none of them seem right. We are migrating our 1.1 WinForm app to 2.0. Our app uses a few third-party .DLL components. At least one of these is compiled under the 1.0 Framework. I have two questions, I guess. First, will an app that was compiled under 1.1 run under 2.0 I was under the impression that it would not, so I wanted to load the 2.0 runtime on a clean machine and see if t ...Show All
.NET Development Why do all examples assume you're binding data to a control?
I'm starting to get frustrated now. Every example I come across shows you how to open a connection to a database, fill a dataset, but not how top programatically get at the data... Every example assumes you are going to bind the data to a control and update using a GUI. How do you get at the data within a DataSet once you've Fill()ed it Not from a form, but from with the application. This frustration is also heading towards disappoinment. The ex ...Show All
Smart Device Development Accuracy of BinaryReader BaseStream.Position
Hi All, Currently, I'm using BinaryReader to read the pre-structurize binary data (4 Mb). Because I need to read the data in arbitrary order based on the situation, therefore, I used the property of BaseStream.Position. However, what I would like to know is: Is this "Position" properties is always accurate in .NET giving that we feed in the right value If not, can I know what kind of solution can be used beside BaseStream.Positi ...Show All
.NET Development Typed Dataset Questions
1. Is there any good and in-depth tutorials on typed dataset It will be great if the tutorial is able to solve the following problems. 2. How to add new row using typed dataset 3. How can I handle the identity column in typed dataset 4. How to use transaction together with typed dataset 5. Any other design consideration on using typed dataset 2. As you would in untyped or use the strong typed method New[RowType] where RowType i ...Show All
.NET Development .NET 2.0 Error Reporting, Can it be disabled?
I'm not looking for a system setting, I'm not looking for workarounds... I want a way to disable it on an application basis, programmtically, in code, the way it should be. To require all developers to workaround, write perfect code (who does this anymore anyways ), or make huge try...catch blocks is ludicrous. The fact that we got by just fine with .NET 1.x and the way that all exceptions were handled, and without it calling for a WER. ...Show All
Visual Basic Help on displaying a form
I created a solution in VB 2005 Express. The solution has 3 project named A,B,C. The startup Project is A, and I want to display a form in project B. Pls tell me how to display a form which is in the project other than current project A. Hi, its not realy difficult at all. All you have to do is: 1) Have a solution with all 3 projects 2) Add the project of the Form you want call to the reference of the calling project (right click references ...Show All
Visual Basic Querying Active Directory to check if a Username exists
Hi Everyone, We are doing a lot of work on our Storage server at the moment, and one thing is tidying up users folders. What I am trying to do is to pick up the name of a users folder (from a text file) and query AD to see if that User exists. In theory !! all folder names are named after the Username. Here is the connection code that I have so far, I wonder if someone could help me, or if I am totally missing the plot and on the wrong lin ...Show All
Visual Studio Express Editions Timout when creating a database (mdf file) in VB EE
tiemout expired the timeout period elapsed prior to completion of the operation of the server is not responding also if i try agian it goes in takes a long time when i create a mdf file in my server explorer it has a picture of a server let say (((name.mdf))) it has a red x i try to run the application it does not work no communication with the server i have to enter the data into the table manually it does not work threw the application hop ...Show All
Software Development for Windows Vista Lost collections in Visual Studio 2005[english] after Installation Windows Workflow Foundation[german]
Does anybody know how to get back all "collection mains" i.e. starter kits and so on, after the installation of WWF(WF) A repair of Visual Studio 2005 did no effect. Hi Paul, thanks for reply. Collection main: if you make a new Project, you can select the kind of the project you want to develope. In the standard installation of Visual Studio 2005 you have there many possibilities to select from. Aft ...Show All
.NET Development Translation from VB6 to VB2005
Hello! This is probably the easist thing someone has asked today but I've looked high and low and cannot figure it out..... In the code snippet below you can see that data1 is a VB6 data navigator control. Its recordsource is an MSAccess database. There is also a DBGrid control that is bound to the data1 navigator The code below lets a user type in the first few characters of the product's model name they wish to find. As each ...Show All
Visual Studio 2008 (Pre-release) Proper documentation for WPF?
Hello! Is there some proper written description of WPF somewhere, for instance for download from the Microsoft website. Concerning proper I mean some documentation which present a complete conceptual driven presentation of WPF with operational directions of examples. I think the SDK browser is very poor in presenting an overview of the area. I think it works much better for situations holding only a small amount of information. By the w ...Show All
Visual Studio How Can Crystal Report Refresh some files, image which was insert to CR by OLE Object?
Hello Keith , I inserted some object (word, excel, Image) into Crystal report by OLE Object and I set hyperlink to the object to link a file when preview CR I can open the file which was hyperlinked. I modified and save the file but contain of file after saved don't display on report. Can you help me Thanks Starfo Hello Starfo, I believe it has to do with how the OLE Object is updated. If you are running your app in Visual Studio 2005 ...Show All
Software Development for Windows Vista OS crashes with registry APIs calls
Hi, Im excercising some registry functions for my automation. I am not too sure which function, but my OS crahses on reboot. (refuses to start). I am using the following API's RegReplaceKey, RegUnloadKey, CreateProcessAsUSer and CreateProcessAsToken. Any help would be appriciated. I have logged in as Administrator. I am also adding the code snippet here: INT TestRegReplaceKeyA( VOID ) { LONG ReturnVal = 0; HKEY KeyHandle = NULL; CHAR filePath[S ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Run time error when attempting to toggle Wireframe mode.
I'm trying to design a simple button that toggles wireframe mode on a Mesh. So I tried the following code. (I am using the DXUT framework) private void OnWireClicked( object sender, EventArgs e) { if (( int )(sampleFramework.Device.RenderState.FillMode) != 3 ) sampleFramework.Device.RenderState.FillMode = FillMode .Solid; else sampleFramework.Device.RenderState.FillMode = FillMode .WireFrame; } I don't ...Show All
Windows Forms Menus
I want to know if I can show menus from an image like the result of a link in the image Hi, Can you give us more info on what you would like to achieve Thank you, Bhanu. ...Show All
