Khilji's Q&A profile
Smart Device Development Problem to install CF 1.0 automatically.
Hi everybody, I need to get some help with CF 1.0 automatic installation on device. I have bat file with the script: ECHO Installing COMPACT FRAMEWORK... \Windows\wceload /noaskdest /delete 0 /noui \TEMP\netcf.all.wce4.ARMV4.cab When we cold boot device, installation begin,but it is asking for overwriting framework dll files (Yes, Yes to all and so on). I need to install framework without any questions. Is there some way to do that Thanks for help, Iouri. It's in ROM which is why messages are produced. You probably don't need to install NETCF at all unless you need particular service pack. If you do need it, I don't believe there's a good way to suppress these messages. ...Show All
Smart Device Development In CF1.0 how to launch another .exe?
hi, guys. I need to launch another exe in my CF1.0 program. It looks like only CF2.0 has the Process class. Is there any way to do that in 1.0 Thanks. P/Invoke CreateProcess() or use wrapper from OpenNetcf.org. If you don't know how please search this forum, it was answered before. ...Show All
Visual Studio Express Editions How do I print Ascii characters?
Visual Basic 2005 Express Edition: I want to print arrow characters - up, down, right, left. I see them them in the Wingding font, but, how do I find out which key to use to select those characters Or, how do I know which ascii character number it is I tried the following code: For i As Integer = 0 To 255 RichTextBox1.Text = RichTextBox1.Text & i & " " RichTextBox1.Text = RichTextBox1.Text & Chr(i) & vbCrLf Next But, I need to switch fonts somehow in order to display i as a number, then chr(i) as a Wingding. Try this on an empty form (watch out for the forums wordwrap on long lines.) Public Class Form1 Private Sub Form1_Paint( ByV ...Show All
Visual C++ I want to sort a array of a structure, is there any other function doing the job except qsort?
I want to sort a array of a structure, is there any other function doing the job except qsort Can I USE STD function Can you show me one example I appreciate your help. You can use the qsort function for the same. it's accepting void* pointers as input. so that you can give the array structures as input You need to give a comparison function for your custom comparison. the array will sort depends on the result from this function. You can type cast the void* pointers to your structure type and can implment the required comparison as per your sorting criteria. please see MSDN for more information ...Show All
Visual C++ iertutil.dll and normaliz.dll missing on target system, can I redistribute them?
I have created an application in vc6 c++ dependent on wininet.dll. On my system, I have also recently upgraded to ie7 which seems to have replaced my old wininet.dll with one that is dependent on iertutil.dll and normaliz.dll (two new dlls). When I deploy my application to a computer that is still using ie6, these two dlls are missing. My app crashes. Should and can I distribute/deploy these two dlls along with the app Thanks in advance. Hello Re: iertutil.dll and normaliz.dll missing on target system, can I redistribute them Such questions are outside the scope of this forum - for the scope of the Visual C++ General forum please look at: http://forums.microsoft.com/MSDN/Sho ...Show All
SQL Server Web Sync Wizard On XP Box
I have (finally) successfully gotten through the maze and 'published' my database to a folder: Physical path: I:\SqlReplication unc: Warrenassoc\SQLReplication Since I'm running XP pro, I don't have the options of assigning specific read/write permissions to a folder. However it appears the problem is with accessing the snapshot and the logon's there. When I run the IIS Web Configure wizard I error out at the snapshot share permissions step (see report below) Wizard Settings: Click Finish to perform the following actions: Modify a virtual directory immediately. Copy the ISAPI dll 'sqlcesa30.dll" to 'I:\SqlReplication" immediately. Set NTFS permissions immediately. The virtual directo ...Show All
Windows Live Developer Forums Use local.live.com
Hi, Is it possible to use local.live.com in its entirety on my own site and add my own custom stuff to it We want almost all the functionality that local.live.com (Print, DD, etc.) and add some custom stuff to it. Is that viable If yes, how If no, what are my other options Thanks, Sanjeev The Atlas part is on the right track. All the niffty interface elements can be found at: http://atlas.asp.net and the control toolkit at http://atlas.asp.net/default.aspx tabid=47&subtabid=477 All the nice functionlality you see would have to be integrated by yourself, but really 90% of it is done. The timeframe is possible if you are committed to new technology, bear in mind Atlas is scheduled for releas ...Show All
Visual Studio Tools for Office VSTO Installation Requirements for Office 2007
I have Visual Studio 2005 installed. Must I purchase a copy of VSTO 2005 to develop projects for Office 2007 OR is the free download of VSTO SE enough My primary need is for data programming for Excel and perhaps Word. Thank you. Hi Douglas Have you discussed the problems you've been having with the Excel UI (crash, etc.) in the Excel.programming newsgroup ...Show All
Windows Forms equivalent of Access Requery method?
I have a DataGridView bound to a collection in a custom object. It works fine pretty much. My question is this. This collection of mine is a collection of folder names. The user clicks a button to select a folder, and the folder is added to the collection if the user clicks OK on the folder dialog. However, the DataGridView is not displaying the newly added folder, even though I've successfully added it to the underlying collection. (When I close and reopen the form, the new item appears.) How do you get the DataGridView to display rows added programmatically In Access, we have to call the Requery method on the control, but I don't see something like that here. ...Show All
Visual Basic Error handling in timer callback functions
I use a System.Threading.Timer object (VB.NET 2003) to call my object's execution method every second. It all works fine until there is an error and no matter how many try/catch blocks surround the offending code, once an error is generated, the execution routine is then constantly in some error state and never recovers (even though the source of the error is gone). There is obviously something I'm missing about what happens when an error occurs on a separate thread - any insight how to handle errors on a separate thread correctly Thanks Dave Taylor There are a number of problems that could be occurring here. Can you provide more detail as to what errors continue to happen after the first Also can you post some of the ...Show All
.NET Development How can I remove ASPNET account when it is not used
Hi I recently installed .NET framework SDK 2.0 to learn VB. Whenever I run the SDK tutorial, it seems to define the ASPNET account in the system and the accont remains there even after the tutorial is finished. I can remove it only by re-booting the PC. I'd like to remove the ASPNET account as soon as I finish using the SDK tutorial because my company's audit scan doesn't like the extra account on my pc. Is there any command available to do that Strangely the account appears only in the audit report but not on the user account in the control panel. I am an absolute beginner and don't know about how it works. TIA Hi Rodrigo It works fine. The ASPNET account doesn't appear in the audit report. Thanks f ...Show All
.NET Development Asynchronous Vs Threading
Hi, I want to know what are the differences between Asynchronous invocation and threading.Does Asynchronous invocation creates a new thread Thanks, Suresh Hi Ian, I have one comment. class Program { public delegate void DoWorkDelegate ( Int32 i); static void Main( string [] args) { Program p = new Program (); DoWorkDelegate del = new DoWorkDelegate (p.DoWork); IAsyncResult ar=del.BeginInvoke(10, new AsyncCallback (p.DoWorkCallback), del); Console .ReadLine(); } public void DoWorkCallback( IAsyncResult res) { Console .WriteLine( "In DoWorkCallback. Thread Id :{0}, Thread Pool Thread:{1}" , Thread .CurrentThread.Mana ...Show All
Windows Forms Need a Combo Box in Windows DataGrid
For my C# Win Forms App, (v1.1) I need a Combo Box in a Column How to add a combo box to a column to a data grid, and arraylist being the datasource, There are some examples in the windows forms faq . ...Show All
Windows Forms Custom Action not run during upgrade
I have an application that is installed using an MSI created from a VS2005 setup project. The setup project includes a custom action written in C# by extending the System.Configuration.Install.Installer class. There is a BeforeUninstall event handler that copies certain files to temporary folder and a Committed event handler that looks for these copies and restores them if so instructed. During a manual upgrade process (install V1.msi, uninstall via Add/Remove Programs, install V2.msi) everything works as expected. However, when trying to upgrade V1 by executing V2.msi without uninstalling V1 first, my custom actions are not run. I've changed the ProductCode between versions, while keeping the UpgradeCode the same and RemovePreviousVersio ...Show All
Visual Studio Express Editions Ending a sub-routine/thread from an event
I have a subroutine i am running which continually loops, pulling & formatting data. I have a button on the associated form that i want to STOP the process and end the subroutine. I used threading, which frees up other processes, but i don't know how to end a sub from another sub/event. Thanks, Josh Background worker process is a class/control which is designed to simplify the task of running a background process. If you comfortable using threading then I'd so go for it and continue this way. If you new to the idea of running a background/process and running 2005/Express then I would definately take a look at it along with the samples associated with it. ...Show All
