buster2001's Q&A profile
Windows Forms HtmlDocument copy, click
Hi, I have a HtmlDocument on where i click an submit element. By doing that the HtmlDocument changes to a new page. But I want to work with both the old HtmlDocument and the new created one. Is there a way to clone a HtmlDocument before clicking the element og do you guys have any suggestions how to solve this problem. On forehand thx. Thomas ...Show All
Visual C# looking for some math and algorithm solutions....
HI i`m a computer science student,i`m gonna to start a project about designing and analysing algorithms,i`m looking for some solutions for some math and algorithm questions,which are exists in some algorithms academic books like nipulitan and horitz books, please tell me if i can ask this questions here i`v some questions about algorithm`s complexities,just look at these questions, 1)we can solve sample problems with the length of 100 in 1 minutes,with the A algorithm which is an (2^n) algorithm.on the other hand ,soon we should solve sample problems with the two times bigger length in 1 minutes again.Do you think we need a faster and more expensive Computer 2)write an algorithm for this ...Show All
Windows Forms Problem with TabControls
I have problem to set the alignment to left or right for TabControl. Once I set TabControl's alignment to left or right, the text on the tab is gone. This problem only occurs in my VS2005. I have no problem with VS2003. Do I miss something when I set up my VS 2005 Please help! Thank you in advance! Windows XP theming doesn't properly handle a tab control with left- or right-aligned tabs. Check this thread for a workaround. ...Show All
Visual Studio Express Editions Michael Sync ---> Reply Here!!! [private]
"Are you creating setup of your program If yes, there are some options to select the Program File of Target Machine in "File System(Setup) Panel". - Right Click on "File Sytem of Target Machine" Note Ob: The Program File Folder will be shown in Content Menu. Enviroment variable for Programfile is "%PROGRAMFILES%"." Where is this This is deployment project From VS select File->New->Project from New Project dialog box select Other Project Types and from left select Setup Project ...Show All
Smart Device Development Stock Por sample "How tro write an ActiveSync Service provider"
Can anyone tell me how to get the StockPor device application to load on one of the devide emulators in VS2005 It would really help me to learn what the code is doing much faster it I could trace the code.. I have tried to load it on every emulator(I think) in the device manager in vs2005 with no luck. What version of Pocket PC is it written for Thanks Jon Stroh I hope I am giving you the right info here. What I found in the readme file was Windows Mobile Pocket PC Version 5.0 SDK. I am only pursueing the StocPor sample because I need to learn to write a ActiveSync Service provider, is it true that RAPI and C# there is no way to accomplish accessing the object store and checking for changes at the record level in a database fi ...Show All
SQL Server Move .ndf file to a different drive
I have a several indexes on a filegroup that I would like to move to a different physical drive. I am aware of the sp_detach...sp_attach routine which allows moving the .mdf and .log files to a different location. How would I go about moving a .ndf file though TIA Thanks Simon...that worked! I just wasn't sure if that's how it was done. Needed some reassurance! And...I'll definitely consider giving my next DB a .simon extension! :) ...Show All
SQL Server Extract Exchange 2003 data
I have searched everywhere for an answer and seems I am either blind or there is no simple solution. Basically I have a need to report on data stored in an Exchange 2003 data store. There is mention of a OLE DB for Exchange 2000 but nothing for Exchange 2003. For example, A company report on time spent on various categories in a staff's calendar, etc. I would like to use SQl 2005 SSIS to extract and reporting services to report. Why is this so difficult I come from a Lotus Notes / Domino background and there are numerous articles and ways to do this Please can some MS guru please give me some direction on where to look Cheers Damien Frank, Once again this artile is date 2005 and yet still only me ...Show All
Visual Studio Tools for Office Office add-ins not running on clients
Hi I've recently developed a office add-in for powerpoint but the add-in doesn't load, I'm using the installer included in the package and the client does have vstor and interop assemblies installed. If I make an application on the client using visual studio and making a debug or release, it runs fine. Thanks // Lasse I'm having a similar problem. It started with the plugin not loading. After some searching I found the above example, and followed it. After building my install project, I attempted to install the new one (after removing the old one). It installed fine, except when I loaded Outlook, the button did not appear. I looked into the COM Ad-ins in Outlook, and it isn't showing up. ...Show All
Windows Forms Hosting Form Designer + Creating a TabControl with no TabPages
Hi, I have an application where I'm hosting the Windows Form Designer, and when I add a TabControl, it is created with two TabPages. I've tried using control.TabPages.Clear() after it's created, but this doesn't seem to clear the TabPages before they are created. Ideally what I'd like to do is have a TabControl created empty, and then allow the user to drag TabPages from the toolbox onto the TabControl. Has anyone else had this problem before Thanks The designer class TabControlDesigner automatically creates two tab pages inside the InitializeNewComponent override. Unfortunately the designer class is marked as internal and so you cannot derive from it and just override the method to prevent that from occ ...Show All
.NET Development Please help with DES decryption - 'Length of the data to decrypt is invalid.'
Hi, I am attempting to Decrypt a file that I have, which has come from an outside source. The source says that it ' uses the 56-bit symmetric Data Encryption Standard ', and also ' The implementation was written so as to conform to MIT's libdes.' I am using the MS Patterns & Practices Cryptoblocks library to decrypt the file, but I keep getting the following exception, originating from the ' CryptographyUtility.Transform()' function, at line 10 (cs.FlushFinalBlock()). The exception thrown is 'Length of the data to decrypt is invalid.' Now, I have googled for this problem and have found some help, and typically people recommend to either use Convert.From/ToBase64, or they recommend to use ASCII.GetBytes/String(). ...Show All
Silverlight (formerly WPF/E) Anybody successfully using Glyph UnicodeString?
After I posted http://www.wynapse.com/WPFE/WPFE_Glyph_Explorer.aspx , Mike Harsh hinted that I could also use UnicodeString. I tried to display the UnicodeString value below the Indice in that code and all I got was "undefined" or something like that. I figured if I simply displayed the UnicodeString for an already displayed Glyph, it would let me know what I need to input to get what I want. Is this working, or is this another Glyph thing that isn't Thanks... -Dave So what is the intended use of the "UnicodeString" And I would assume then that Indice is the only way to pick which Glyph you want... correct Thanks! -Dave ...Show All
Windows Forms IntellisenseTextbox
Last week I added the possibility for the users of my hobbyprogram to add there own code. I therefore added a RichTextBox to display and edit the corresponding C# (or VB-code). However thus is without intellisense. Thusfar I haven't found ways to add some basic level of intellisense to that textbox. I wondered if someone knows how to get some IntellisenseTextbox , basically thus a RichTextBox with Intellisense Hi there is a tutorial on intellisense on codeproject: http://www.codeproject.com/csharp/diy-intellisense.asp df=100&forumid=31360&exp=0&select=727059 and also, have a look at sharpdevelop, an open source c# ide (download the code and start playing ;)) http://www.icsharpc ...Show All
.NET Development is this a memory leak?
one of my customers put my program through the performance monitor, and found out that my application was eating up memory. my first thought was what GC GC!!! well, i guess it's possible. i've tried various profilers, including memprofiler and automateqa. the realtime monitor shows a zigzag pattern of increasing memory usage. my application communicates with a device through the serial port. i'm stressing the application by having constant stream of data coming in, and the app parses data and displays it to windows controls. now, if i just leave the application running, it will just keep eating up memory forever. however, if i manually call GC.Collect, i am able to retrieve all of the memory that it was eaten. now i'm confused, if ther ...Show All
Visual Basic How do I search the database for data and return a True or false?
I am trying to add code to check if the information in the first two TextBoxes(FirstName and LastName) is already in the database(so that I can just update it) or if the TextBoxes contain new names so that it will continue to add a new DataRow...... Private Sub SaveButton_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles SaveButton.Click 'Create a variable for the child's photo' Dim ChildPhoto As String ChildPhoto = ChildPhotoPB.ImageLocation 'Make sure names have been entered' If TextBox1.Text = "" Or TextBox2.Text = "" Then MessageBox.Show( "Please enter a first and last name." ) Else 'Copy the information from the variab ...Show All
Visual Studio VS2005 SP1 Broke Tasklist commenting (TODO, HACK, etc.)
is there a way to fix this //TODO: and //HACK: no longer show up in my tasklist Really :) Hallo, I didn't notice this. The SP1 is still a beta. You may want to submit some feedback about this, here: https://connect.microsoft.com/feedback/default.aspx SiteID=210&wa=wsignin1.0 If this is a bug, there might be time to be fixed before the final release of SP1. There, you may also find similar cases if you search, that have been resolved. ...Show All
