henckel's Q&A profile
Software Development for Windows Vista How to create .ISO image file
I want to create an .ISO file instead of burning an image to disc. These are the steps I'm assuming I should take: CoCreateInstance to obtain an IFileSystemImage object Add files/folders to the image using IFsiDirectoryItem and IFsiFileItem Call IFileSystemImage::CreateResultImage to obtain an IFileSystemImageResult object Call IFileSystemImageResult::get_ImageStream to obtain an IStream object Call ::SHCreateStreamOnFile to create the new .ISO file, and obtain a second IStream object Use IStream::CopyTo to copy data from the stream obtained in step 4 to the stream obtained in step 5 Are there any problems with these steps Any potential pitfalls I should be aware of The Win32 docum ...Show All
Software Development for Windows Vista Modify running workflowinstance in the runtime
hello , i just wondering what is the possibilities to modify a running windows workflow instance on the runtimei mean adding new activities and remove change the structure of this instance so my my changes will effect this instance only is there's any way to do this ...Show All
Smart Device Development Converting PocketPC 2003 Project ----- Windows Mobile 5.0 Pocket PC Project
Dear ppl, I have been working on a Pocket PC application. Its been 4 months now. There are various forms in the project. The project is a PocketPC 2003 (.NET CF2.0) Device Application Project. Now the Is there a way to convert a PocketPC 2003 (.NET CF2.0) Device Application Project to Windows Mobile 5.0 Pocket PC (.NET CF2.0) Project. Regards Nabeel ...Show All
Smart Device Development GPRS does not autoconnect to its server, C# CF
Hi, I am writing a C# application for pocket PC which connect to GPRS. I use the following code: HttpWebRequest wr1 = (HttpWebRequest)WebRequest.Create(URL); HttpWebResponse ws1 = (HttpWebResponse)wr1.GetResponse(); and XmlDocument xDoc = new XmlDocument(); xDoc.load(xmlURL); Both of the above codes work well with no problem as long as GPRS is connected before these codes run (i connect GPRS manually before running the code). However, when the GPRS is not connected, i always get a GPRS connection error when the application tried to initiate the GPRS connection. The GPRS somehow cannot connect to the server. Can you let me know what can possibly go wrong when the above code is executed If something is wrong, what needs to be added so that ...Show All
Visual Basic Call Visual Basic DLL from c++
I created a DLL with Visual Basic 2005. I need to call this DLL from C++. Is this possible Can someone give me an example or tell me how Thank you. With Native C++, you can use the TLBEXP tool on your VB assembly, which generates a .TLB file. You can then use the #import directive in C++ to import the necessary COM components into your native project. http://msdn2.microsoft.com/en-us/library/8etzzkb6.aspx Once you #import your TLB, you can create your VB class as if it were a COM class. See this link for more information on COM interop and TLBEXP: http://msdn2.microsoft.com/en-us/library/kew41ycz(VS.80).aspx I hope that helps! Reply here if there are more specific questions about your VB project and ...Show All
.NET Development Running/Debugging Web Service App causing unusual behaviours
I am at wits end trying to fix this problem. I have a small application that uses web services via a webservice.htc file that, at the time, was a pulling a an array of strings (~26,000 in length) back to the browser. Calling the asmx file worked correctly, but the browser was hanging. So I started to limit the length of the array to see when the browser started to lag, testing numerous times, to determine where to chop up the array in chunks. The last time I let the browser hang for several minutes and finally shut it down. I then rewrote the code and nothing functioned when I started to retest. I narrowed it down to the .htc file not initializing the proper objects, I don't get an error when it creates the service, but the web servi ...Show All
Visual Studio Express Editions CellContentClick event
I have a form (Catalog_Form) with a datagridview on it. Inside the datagridview I have a buttoncolumn. The name of the button is Add_to_Tracking and the name of the column is Tracking_List_Button. I can't find the right code to allow the user to click on the button to open another form (Tracking_List_Entry_Form). This is the code I have: Private Sub Catalog_FormDataGridView_CellContentClick( ByVal sender As Object , ByVal e As System.Windows.Forms.DataGridViewCellEventArgs) Handles Catalog_FormDataGridView.CellContentClick Tracking_List_Entry_Form.Show() End Sub Am I not referencing the cell or column properly I'm new to VB, but it seems to me that this shouldn't be that difficult of a problem to solve. Can anyone help me ...Show All
Software Development for Windows Vista Windows management APIs
Hi all, Are there any windows management APIs Like any API to retrieve the serial number of a laptop Thanks and regards, Jyoti What results are you getting from your queries I ran the example VB script from MSDN, http://msdn.microsoft.com/library/default.asp url=/library/en-us/wmisdk/wmi/wmi_tasks__computer_hardware.asp , and got "To Be Filled By O.E.M" as a result. ...Show All
Visual Studio Sandcastle December CTP - Member pages have no collapsible group descriptions?
Hello All, I have been using the new ApplyVsDocModel.xsl in the December CTP instead of AddOverloads.xsl to generate the member pages, but when I look at what it has produced I can see it has put the members into various collapsable groups, but there is no name describing the group. For example, the Public Methods group has a - or + icon to allow the group to be collapsed or expanded, but there is no description following it so it is not immediately obvious what group of members you are looking at. In the member page that was generated for my code, it produced 5 collapsible groups (Public Methods, Protected Methods , Public Constructors, Public Properties and Public Events) but without the description of the group ...Show All
SharePoint Products and Technologies Can we delete a document object from MOSS document library using VB/ C# code ?
Hi, I like to know if we can delete the documents in the document object library using a program written in C# or VB or any other language Thanks, Lokeya yes, but the application (the program) would have to run on the sharepoint server itself. Alternatively you can write a web service that gets a url of a document to delete and deletes it. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Editing component properties in the Properties Window
Hi all, I have succesfully created a new XNA game component which exposes certain properties that are editable from the properties window in visual studio. However I notice that whilst all the correct component properties are displayed in the properties window, only those that have standard types such as string or bool seem to be actually editable. Some of my properties expose a Vector3 type yet I don't seem to be able to edit those - only view them. Is this a limitation of the properties window in Visual studio or do I need to do something further to allow me to edit XNA types from the properties window You can check my thread from a few days ago that asks the same question here . ...Show All
Visual C# Debugging Tools in VC#
I'm working on a managed DirectX project in Visual C# 2005 professional. It has swelled to over 15 classes, and I'm working on debugging it. I think it would be neat to have a feature where I could just run a single function in a sort of sandox, and be able to just give it diffrent inputs and check the outputs to get a good sense of how it works. I know I could move it to a diffrent file, and then run it there with some textboxes on screen. But that has a few problems. 1. Its terribly inconvenient for testing numerous functions 2. If I have an exception thrown that crashes the program, I won't see the output. So does such a feature exist, where I can cleanly enter preconditions for a functions and see a list of post-conditions. ...Show All
Software Development for Windows Vista To destroy an UI Element ?
Is there any API using which one can destroy an UI element ~JK ...Show All
Commerce Server BasketHelper: Object does not match target type.
I've run into a weird exception on checkout now that I do not understand. At this point, when the starter site is calling CheckoutData.BasketHelper.RunBasketPipeline(), the following exception is thrown: " System.Reflection.TargetException: Object does not match target type. " I have breakpoints both on that line as well as in the RunBasketPipeline method, and it is getting the basket helper but unable to call the method. Any help you can provide is greatly appreciated. Peter *hangs head in shame* So, for future reference, if you don't change /all/ of the references to use your new CreditCardPayments class, it will use the old one sometimes, and when you use the o ...Show All
.NET Development How can I convert this c# code into a regular expression?
I'm trying to create a "path validation method" to check if a string can be used as a valid path in my program. The path must contain an indication character at the beginning of it which can be either minus, tilde or a dot. In case of a minus character than it must be followed by a number. In case of tilde or a dot than it must be followed by any valid step format. A valid step format is either a s tring enclosed by a sharp brackets , a number or a combination of a string enclosed by a sharp brackets followed by a number without white spaces between the brackets and the number. After the initial step we can have a dot separator to indicate that we have additional steps that must follow the normal step format without the starting indicatio ...Show All
