zheny.lu's Q&A profile
Visual Basic How to keep the value of an INPUT TYPE="FILE" after postback ?
Hi Guys, I am having a simple, I suppose, problem with <input type="file"> control. I need to keep its value during some post backs of my page, but I can't. I loose it's value after all post backs. Any one knows how to keep it Regards, Marcelo. Hey, If it has runat="server", it should retain it... Did you turn off viewstate Could you post the definition or code Brian ...Show All
Windows Forms Simple Drawing Question for Windows Forms
Hey, I have been working on this for a long time, and so far, no one can help. I have a Windows Form Application written in C++. On the Windows Form is a Button called "Draw" an Up and Down Box, and then a Panel called& ...Show All
Visual C++ debug assertion failed?
Ok here is my problem one day i changed something, i don't know what, and my program now gets this message Debug assertion failed! Program:.... File: dlgdata.cpp Line: 44 What is that here is the code at and around that point HWND CDataExchange::PrepareCtrl(int nIDC) { ASSERT(nIDC != 0); ASSERT(nIDC != -1); // not allowed HWND hWndCtrl; COleControlSite* pSite = ...Show All
Architecture Architecture templates
I am in a small shop where we don't have UML tools or other design aids other than Visio. What I am looking for if there is any are templates or guides, standards for how a system architecture should be documented. That standard would also include how architecture should be documented graphically as well. There are a lot of frameworks that offers views for documenting architectures (RUP 4+1, Siemens 4 views, RM-ODP 5 views, Zachman 36 views ...Show All
Windows Forms External component has thrown an exception
Hi, I'm getting this error really sporadically in my Winforms app. Seems to happen when trying to display a form with a call to .ShowDialog(). It doesn't seem to happen on any particular form, just pops up now & again. I can close the application and restart it, then I can view the form without the error The application is running in a Citrix terminal server environment, the assemblies themselves are running from a network share. Ca ...Show All
.NET Development Solution found
I have a solution which contains a winform project and a webservice. I am trying to step from the code in a form into the code in the webservice, but it doesn't work. I just step over the code in the service to the next code line in the form. Until this morning it worked fine, so I am a bit confused what might have happened since it suddenly doesn't work. In web.config I have < compilation debug = " true " /> I have searced a bit ...Show All
Visual Basic Copy a file to a folder
Hey, I am using Visual Basic 2005 Express Edition, and have ran into a dead end. I want my program to copy a file into a folder but the only copy command I could find was the io.file.copy but this only allows the code to copy to a file path not a folder, is there a way to copy a file to folder or a way around it Thanks File.copy which copies file from one location to other with file path defined. If file is ...Show All
Windows Forms listview + checkboxes
Check: http://www.stilldesign.co.nz/Combobox_issue.png Why are the checkboxes off the left side of the listview I made a listview, added 2 groups, added 3 items, added those 3 items to the groups, selected SmallIcon as the View, and enabled Checkboxes. Cheers ...Show All
SQL Server can sql server allow to read record ramdomly?
anyone have the solution or work around my system need to select x% ramdom record from a batch of data from sql server for validation. is this posible any sql statement allow to select the record ramdomly let say total record is around 1000, example record that i need to select is:- record no 5,48,49,50,147,148,256,257,258,411,412,413,414,415,..... so and so can i use cursor to move around the record to read it if we view on perfo ...Show All
SQL Server Executing a package multiple times in parallel - can't see it in the GUI
Hi, I am calling a package 4 times, in parallel, from a parent package. It would be really nice if I could see 4 instances of this package in the GUI so I can see what each is doing. Is that possible -Jamie Cool. Cos I have to be honest, that's a major irritation for me at the moment cos of the huge (and I do mean HUGE) datasets I've been working with. -Jamie ...Show All
Visual Studio 2008 (Pre-release) Animation Problem!
Hello: When reading the Hands-On Lab, I enjoy myself. There is a class named " Photo " to store the path of Image A collection: public class PhotoList : ObservableCollection<Photo> A ListBox whose ItemsSource is binded to the PhotoList ; But I met a strange problem , The following code works very well when the PhotoList is steady. <EventTrigger RoutedEvent="GotFocus"> ...Show All
SQL Server trigger issues
I am running a trigger on a table (cusomfields) that is to fire when the table is updated or inserted. The trigger takes the new data and moves it to another table called search_products. Search products is made up of 5 columns (product_id, search_terms, name, vendor and keywords). The search_terms column is a combo of the name, vendor and keywords columns. When the trigger fires, the column in the customfields table that updates the keywords ...Show All
Visual Studio MSBuild dependencies
Hi, I am new to the .NET world and I am trying to figure how to express assembly dependencies in MSBuild. How to I tell MSBuild to go and get the assembly it need in a certain directory Is there any documentation that explain dependencies management under MSBuild Thanks, -M. you just set up your build script (project file) to use project-to-project references instead of file directly, then the build order will automatic ...Show All
Game Technologies: DirectX, XNA, XACT, etc. DX9 Tutorials for VB.NET 2005?
Hi, can somebody tell me, where I can find some good Tutorials for DirectX9 and VB.NET 2005 Thx, Vollstrecker If you purchase Tom Miller's book titled Managed DirectX 9: Graphics and Game Programming, you'll find source code on the CD written in both C# and VB.NET. ...Show All
Visual C++ CRT sources and BETA 2
I installed Visual C++ Express 2005 BETA2 tonight (having used the first beta with satisfaction for quite a time now). No major pb with it all my code compiled almost fine(at least the native bits). Love the new traits feat'(coz that what i was into,makin a boost style lib(only smaller) that use a lot of traits class). Of course changes they are (for the best ie managed c++ & destructor vs Finalize & Dispose) but i miss the c ...Show All
