Daikoku's Q&A profile
Visual C++ using the NtFrsApiEnumBackupRestoreSets
I am trying to a Locating SYSVOL by using the NtFrsApiEnumBackupRestoreSets function but I can’t find the header that NtFrsApiEnumBackupRestoreSets declared in, to include it in my project, also I can’t find the function parameter declaration for this function. I send to ask how I can use this function and in which OS this function supported and where I can get the Function header and DLL I am trying to backup the Sysvol using the VSS (volume shadow-copied ), this link show the steps for backup the Sysvol , and to do that i have to Locating SYSVOL by using the NtFrsApiEnumBackupRestoreSets in case of replicated user. http://windowssdk.msdn.microsoft.com/en-us/library/ms728854.asp ...Show All
Smart Device Development How can i let customers select drivers,directory and files.
like windows explorer,let users choice drivers,driectory and files,and then return the result to a textbox By using OpenFileDialog. You can find sample on MSDN or by searching this forum. Note: there are some limitations on WM devices. ...Show All
SQL Server Tool to generate a GUI
Is there a tool to generate easily a GUI I mean a Gui to access (read and write) information from the SQL Server. A tool like in access. Hi Is ASP.Net not complicated I mean do I need lot of experience to be able to deliver a secure solution Thanks ...Show All
Windows Forms OpenWord problem
private bool OpenWord() { try { wordApp = new ApplicationClass(); tname = (object) templateFileName; wordApp.Visible = false; //wordDoc = wordApp.Documents.Open(ref tname, ref oMissing,ref oMissing,ref oMissing,ref oMissing,ref oMissing,ref oMissing,ref oMissing,ref oMissing,ref oMissing,ref ...Show All
Windows Forms dynamic checkboxes.
Dear All, Would appreciate any help. I have a list of properties stored in an array like, p[0].text, p[0].bgcolorm p[1].text, p[1].bgcolor etc.. I want to dynamically create buttons/checkboxes on the form with the properties as specified in the array. If possible I want to put the buttons/checkboxes in a panel (or something else to keep them together as an entity in the form ) can someone tell me how to do that and BTW, I should we manually specify the position of the buttons there is anything that will hold them together and arrange them nicely in rows Thank you all so much in advance, prasad.. Hi, there's a FlowLayout control, which would help you arrange your checkbox's in rows [without having t ...Show All
Windows Forms Disappear of Shared folder
Hi All, I have XP Professional in my PC1in my Network, when I access the server1with unc name some times I could not be able to see the shared folders (or) resources in that server1 .Only a blank explorer. But If I connect any other server2 in unc path in the same machine, I am able to see the shared folders & files. But when I logged in any other machine in the network i.e.,PC2 and access the Server1, I'm able to see the shared folder. Why it is happening Can anyone answer me ...Show All
Windows Forms WaitCursor and the TextBox
Hi, I have a WinForm application built in VS.NET 2003. The user enters the data on the form and clicks the Submit button to do some processing and the results are displayed in a multiline textbox. I am setting the form Cursor to Cursors.WaitCursor when the user clicks the button and then back to Cursors.Default when the processing is done. While processing, whenever I hover my mouse on the multiline textbox, it is not showing the HourGlass but it is showing on the other areas of the form. How do I make the HourGlass appear on the textbox also Do I have to set it for all the textboxes manually and then back to default after processing Any help is appreciated! Thanks Basani Yes they did, th ...Show All
Visual Studio Team System Not able to add the product in to cart through Ocracoke
Hi we are using Ocrocoke(VSTS2005 PERFORMACE TOOL) for one of web application load testing .but problem that we are faching is we are not able to add the product in to cart.Scenario is User browse the site select a product and add product into the cart. Issue is same scenario is Executed perfectly through Jmeter. but not with Ocracoke. What might be a problem is it some cookie or cache related issue or some thing else Please provide ur thoughts on same we are blocked on this front. Thanks in advance Naveen Every web app is unique so I really cannot respond to a generic problem like "shopping cart is empty". I'm trying to describe a debugging techni ...Show All
Windows Forms Setup bootstrapper ByPassIf question
Hi guys I've built a custom bootstrapper that installs some prerequisites of my application. It simply copies 3 .NET assemblies to the GAC. I want to skip installing this if the prerequisites are already installed. In other words, if the 3 dlls are already in the GAC, there's no need to run my boostrappter package. To achieve this, I created the bootstrapper package.xml file with some install conditions: [create the custom properties here to indicate whether the dls are installed in the GAC...] <BypassIf Property="IsMshtmlInstalled" Compare="ValueEqualTo" Value="true" /> <BypassIf Property="IsMsOfficeCoreInstalled" Compare="ValueEqualTo" Value="true" /> ...Show All
Windows Forms Newbie with uninstall and update questions
Hello, I am a complete newbie when it comes to VB and VB Express Edition. My issue with my app is twofold: 1.) when uninstalling the app, only the start menu shortcuts are removed. The files and folders are not. Is there way to force these files to be removed 2.) when auto-updating the app, I either need to have it delete the old files, or find a way to change the "home directory" setting in IIS automatically. Are either of these possible with the express version If so, how do I go about implementing the changes Hi Digital, Once you are ready and if you have any problem, feel free to post it here. I will try to help you as much as I can. One thing to rem ...Show All
Visual Studio Express Editions Starting a process with a non default application
System.Diagnostics. ProcessStartInfo psi = new System.Diagnostics. ProcessStartInfo ( @"C:\DownloadLog.txt" ); System.Diagnostics. Process .Start(psi); This works fine if I want to open the file with notepad. How do I open this with another application, such as wordpad, or word Process.Start(@"wordpad.exe c:\downloadlog.txt"); Process.Start(@"winword.exe c:\downloadlog.txt"); ...Show All
Visual Studio 2008 (Pre-release) Can anyone help to explain How to implement page transition like Newyork Times?
There once was an article maybe refer to this topic http://www.designerslove.net/2005/10/page-transitions.html but now it seems no long be there. So can you help me to explain that Thank you! Hi Leo, I'm planning to do a blog entry on a technique I came up with to simplify transitions. I have a sample that is similar to the New York Times reader transition. The blog entry might not be up for a few days, in the meantime you can grab the sample project here: http://11011.net/files/TransitionSample.zip Look for the DataTemplate with the "NYTimesTransition" key. There is one potential problem with this approach in that I currently maintain both the old and new values in the visual tree (however, only one will should ...Show All
.NET Development Parameter <-> SQL Function problem
Hello, At the moment i'm using a MS SQL Server 2005 but i'm developing the program with the OleDB access layer so that it will also work with other databases like MySQL. The problem i'm having is when i try to update a row in a table and have a parameter with the SQL function to get the current datetime. Eg the value ="getdate()", then when i execute the command it gives the following error: OleDbException -> Conversion failed when converting character string to smalldatetime data type. To illustrate it all here is a code example: OleDbCommand command = new OleDbCommand("UPDATE commissie SET date= ",connection); OleDbParameter parameter = new OleDbParameter("date","getdate()"); ...Show All
Game Technologies: DirectX, XNA, XACT, etc. problem with sound config
Hello everybody, i'll try to explain my problem, and hope that you can help me. So i developed simple application, which is used to initiate voice chat between to computers on the LAN (peer-to-peer). Everything works fine if i use my voice chat class in windows forms application. But i need to do that one peer would be Windows Service, and other peer Windows Form application. I have a method for start voice chat in voice chat class: private void ConnectVoice(){ try { voiceClient = new Voices. Client (connection); Voices. SoundDeviceConfig soundConfig = new Voices. SoundDeviceConfig (); soundConfig.Flags = Voices. SoundConfigFlags .AutoSelect; soundConfig.GuidPlaybackDevice = DSoundHelper .DefaultPlaybackDevice ...Show All
Smart Device Development Windows CE.Net Version 4.20
Ok, I have an application developed on VS 2005, and it runs fine on Windows Mobile 5.0. Now, I've tried to install and run on CE.Net Ver 4.20 and it doesn't run at all. I've had a look around on this site and found some info, and I installed the .NET framework service pack 1 patch, and then I copied over the NETCFv2.wce4.ARMV4.cab file. Then it goes wrong! I try to install, and it doesn't want to know it - I get a message '....failed to install because the installation file is not intended for this device' So, is there any way around this, or is that it, no go Right, I have put the 'Patch' on to the development pc, unchecked the 'Deploy the latest version.......' in the project properties, built a new cab and copied to the dev ...Show All
