Micaa's Q&A profile
Windows Forms IS it possible to load Word into a VB.net App?
Hi All, Is is possible to load word into my vb.net app in such a way as to enbale the user to edit a document in the way they are happy with but give me control over what happens to the file. Ie control over 'save' and 'save as' Danny Hi, With the following code you can open an word doc: If IsFilePresent(mstrWordDocFolder, strGekozenString) Then Dim wordApp As Word.Application Dim wordDoc As Word.Document Try ' ...Show All
.NET Development obtaining identity from sql server after insert using DA - constraint error
I am using a DA with individual select, i,u and delete sps. The update sp first updates the fields UPDATE Customer SET [Company] = @Company,........ then returns the whole row to ensure that calculated columns are refreshed at the client. I used to have a simple select for this and it worked fine : SELECT [Customer].[Company],.............. FROM Customer WHERE PK = @PK but for ease of applying future changes, I wanted ...Show All
Smart Device Development Can we use Arraylists in CF?
Hi. I have some images as Byte arrays in my application. Can anyone tell me if it is possible for me to store those images in a Arraylist So that I can just run a for loop and insert those images one by one to the SQL CE database Thanks. Yes, you can. By the way, why could not you just insert them into SQL CE database right away instead of storing them in the list This way you will save some memory a ...Show All
Visual Studio 2008 (Pre-release) Viewport3D Mouse.MouseUp
Hi! Using the code below, when I click the model in my viewport it rotates twice. After that clicking the model in the viewport has no effect whatsoever. How do I get the rotation to be played everytime I click BTW: the only values that seem to be allowed for RepeatBehavior are 1x, 2x, 3x, ... and Forever. I can't find any references about valid values in the docs. Thanks. <Viewport3D.Triggers> <EventTrigger RoutedEv ...Show All
.NET Development System.Security.Cryptography.Xml ?
I can't use System.Security.Cryptography.XML namespace in VS2005, it isn't exist. I need to use KeyInfoName but i can't use because of System.Security.Cryptography.XML. How can i use KeyInfoName in VS2005 Thanks Ok, I solved my problem. Problem is : Error 4 The type 'System.Security.Cryptography.Xml.KeyInfo' is defined in an assembly that is not referenced. You must add a reference to assembly ' ...Show All
Windows Forms How do i grab the text from a listbox from a listbox
Hi I want to grab text from a textbox from an other application. Where is the textbox you want to retrieve text from In a managed application My point is that you can always create a public property that exposes the ...Show All
Visual Studio Express Editions delete and delete[] in destructor crashes the program.
Hello I was fooling around with some very basic classes, and much to my dismay I keep getting a runtime error when my destructor is hit. Everything compiles and run just fine, and the exact same code will run smooth and easy if compiled with MinGW. Here's my class; cyString.h #pragma once #include <cstring> class cyString { public : cyString( const wchar_t * arg); ~cyString( void ); private : wchar_t * thestring; }; ...Show All
Windows Forms How to write a scheduler for Windows (newbie)
Hi - I have a web application, which I want to use to send me email reminders of events. To have this send the emails each day about the events of that day, I need to write a windows application/service, which will query my database and loop until all of the events of that day have had an email sent for them. I've only ever written in asp/asp.net - and have access to write .net 1.1 or .net2 on my server - I've never written windows program ...Show All
Visual C# serial port
Hi, I am new to C# and wanted to know How do I read data from serial port. and convert that data into integers.please help.. Hi I have come across this kind of quiz have a looksie here http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=286910&SiteID=1 Hope this Helps ...Show All
Windows Search Technologies Running as a service
Is it possible to have Windows Desktop Search index when the user is logged out ie. have it run as a service Will the desktop search be written to run as a service for XP at some time in the future, please Thank you, Jace ...Show All
Windows Forms The new .NET 2.0 ConfigurationManager and Associated Classes
Hi folks, I've recently been confronted with the necessity of using the new .NET 2.0 ConfigurationManager and it's associated classes: ConfigurationElement, ConfigurationSection and ConfigurationElementCollection. What an absolutely horrid exercise in frustration! The documentation is truly awful; none of it mentions what methods need to be overridden/implemented in order to customize any of the above, and I can find no documentation at all i ...Show All
Windows Forms Form.Show() hang in Visual Studio 2005 C# Beta 2 May CTP version
Hi: I am using Visual C# 2005 May Beta 2 version and encounter the following problem: 1) Create a windows Form obj and add some buttons to it using the Form designer. 2) Display the modeless form : Form1 aForm= New Form1(); aForm.Show(); After I run it in Debuger. The form just hung with a hourlyglass icon in the client area and no form item come out. 3) It works with the model ShowDialog() method aForm.ShowDialog(). Anyone can ...Show All
SQL Server Doubt in Select query
hai.. am havinf a table like.. tblMonths mon years Jan 2000 Feb 2003 Mar 2004 May 2005 No i want a query to give o/p as... jan feb mar may 2000 2003 2004 2005 Please help me... Regards, Satheesh http://www.aspfaq.com/show.asp id=2462 -- Adam ...Show All
Visual C# Login Control problem
Hey guys, I have a VS2005 website project on my dev machine. It compiles and runs perfectly. When I publish the project and put it into production, the Login control keeps giving me a "Login failed for user..." error. The web.config is the same, the connection strings are the same. Anyone know what the problem could be Can you provide more info on this, may be some tracing/event logging would help in here to diagnose further. ...Show All
Visual Studio Team System Opening WI Attachments Requires Username/Password
When attempting to open a work item attachment, we get prompted for credentials each time. Is this expected or something not set correctly Is there some permissions setting that will prevent this All the users involved are in the project's contributors group in VSTF, in the contributors group of the sharepoint portal, and are browsers of the reporting services. Hi What is the OS where the client is i ...Show All
