Melinda's Q&A profile
Visual Basic Help -- Not sure where to go with this.
I am writing an app and need it to be served from the server using Click Once Deployment. No problem. Got the publishing to work. Here is the problem. There is an SQL Express Database involved and when the DB is updated on the client, it doesn't update it on the server. If I goto another client, perform the necessary installs, and run the app, the addition I made on the previous client machine is not seen on the new client machine. Is there a way to update the DB on the server Please say, "yes there is..." Tony Go into the advanced settings of your connnection string and chang ...Show All
Visual Basic Making a report
Is there a funktion in vb2005 where i can put text and data onto a "paper" for viewing and printing Something like words preview, where you see a paper with the text on it and can press the print button. Except i make the text from my code that puts the text on the paper.. Look into the Printing namespace, look up help on the Printing.PrintDocument object, and do a search on the forums on printing. There have been several discussions on 'how do I print ' but help has quite a bit to get you started. ...Show All
SQL Server Modifying a dimension by adding a new attribute using AMO
Using AMO , I am trying to add new attributes to a dimension. It works fine if the dimension is a new dimension but if the dimension belongs to a cube, the Update method returns the following error: Message "Errors in the metadata manager. The ALTER statement must be fully expanded because it will cause a structure change to the Gender dimension. " String StackTrace " at Microsoft.AnalysisServices.AnalysisServicesClient.SendExecuteAndReadResponse(ImpactDetailCollection impacts, Boolean expectEmptyResults, Boolean throwIfError) at Microsoft.AnalysisServices.AnalysisServicesClient.Alter(IMa ...Show All
Software Development for Windows Vista Workflow persistence functionality
How does workflow persistence function when a workflow unexpectedly terminates Does anyone know I understand that there is a persistence service that can write a workflow instance to a database, unload the workflow, and later re-load the same instance of the workflow. This is great, but what if the instance of the workflow had a network communication error Will the workflow serialization persistence store the last activity execution and branching and later resume the workflow instance from that point or not If anyone has any info on how Workflow persistence is handled behind the scenes for Beta 2 Workflow, please respond ASAP. Tha ...Show All
Smart Device Development DataGrid + XML
I'm trying to use a Datagrid on our CE4.2 .NET device, using CF2. Basically, I have an XML feed come back from a remote server in the following format; <msgdata> <booking> <ref>1</ref> </booking> <booking> <ref>2</ref> </booking> </msgdata> What I do is strip out the bookings and combine them using a StringBuilder until there are no more to be received. At this point I am doing the following; XmlDocument xmlOutput = new XmlDocument ( ); XmlDeclaration xmlDecl = xmlOutput.CreateXmlDeclaration( "1.0" , null , null ); XmlElement rootEl = xml ...Show All
Visual C++ DLL and distribution files
If I compile a DLL with an /MD switch and I want to distribute it (say with a VBA code that makes a call to the DLL), what are the other files that I also need to distribute so other people can run it I suspect the same answer applies also if I distribute .exe file compiled with /MD. Thanks, Bumbrlik Take a look at http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=398802&SiteID=1 for deployment of your application. Thanks, Ayman Shoukry VC++ Team ...Show All
Visual FoxPro External Connect
Hi I know in Access you can run SELECT queries on external database. You just have to specify type and path. For example: SELECT * FROM <tablename> IN '' [ type ; DATABASE=<path>;] For dBase data source there are values: dBase III, dBase IV; for Excel - Excel 5.0, Excel 8.0. What should I write to specify FoxPro type ODBC (but as far as I know existing ODBC drivers do not support VFP9 databases, you can use with older versions or check latest driver specification). If you can work with OLEDB in access then use it. ...Show All
Visual Studio Network Adaptors not working after VS 2005 Beta 2 Install
Has anyone had the issue of their network adaptors not working after intalling VS 2005 Beta 2 On an IBM ThinkPad T41, Wireless & LAN Adaptors present and enabled. If I uninstall VS it all starts working again. If I start in Safe mode with network enabled it works. Thanks Check out this blog from the VS Devices team for more info: http://blogs.msdn.com/vsdteam/archive/2005/06/13/428588.aspx ...Show All
Visual Studio Installing VC ++ runtime Library
Hi All, I want to sepearte VC ++ run time Library form the VS 2005 Setup. Is it possible to do so.If Possible then which is the folder the msi is refering to I want to create a seperate package for this VC runtime libraries. waiiting for your reply. Thanks Bhaskar The VC runtimes are authored inside the VS MSI so its not possible to separate it from the install. However, for redistribution purposes, there's a vc_redist.msi that gets installed to your deployment projects folder. It might be called vc_redist.exe since its a self extracting EXE. It will contain MFC, ATL, etc. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. "Ensure that DirectX SDK is correctly installed"
I just downloaded C# Express, and then installed the DirectX SDK from February 2006, from Microsofts homepage Then I loaded the Simple2D_2005 sample (running it from the sample viewer), and it worked as it should. Then I installed the samples source code, opened it in C# Express, but when I run it, I get the following msg: "Could not find required media. Ensure that DirectX SDK is correctly installed" I have tried to uninstall DirectX SDK, and reinstall it again, but I still get this error This usually refers to the sample framework files not being found. Make sure that the /Common folder is incl ...Show All
Windows Forms Assertion Failed! Handle has not been created.
Hey, I have recently been working on a tutorial application using C#, and between each "slide", I need to fade out the current slide's controls and fade in the next slide's controls. To do this, I created a new control, and added a FadeIn and a FadeOut command. I successfully added the fadeout command, and I escentially mirrored it to make a fadein command by copying the code and switching out the variables. Now, here is the problem that I am having. At program execution, this code is called to fade in my first screen: [CODE] Debug.WriteLine("Fadein() Called"); Debug.WriteLine("Fadein() line1") ...Show All
Visual Studio "The class diagram service failed to load."
imediately followed by another message: "The operation could not be completed". I got the two messages when I create a new C# project and then choose "View Class diagram" on Form1.cs. After this happens I can't open either code or designer window for Form1! I'm using Visual Studio Team Suite RC (8.0.050727.86) Asim, The solution was not simple. I had to manually delete all references to older version of .NET studios and had to delete older version of assemblies. They were all left behind. Unfortunately, I cannot help you since I don't remember the version numbers of assemblies t ...Show All
Visual Basic Blocking Pop ups when auto-delegating tasks in Outlook
I've noticed at work that when a manager tries to delegate a task, a msg box pops up saying something like "someone is attempting to access your account...how long do you want to allow, etc." Well, I have a macro that managers will run that will automatically delegate a lot of tasks to a lot of individuals and I want to get it done with no extraneous user input. Meaning, if John is delegating a task to Mary, then Mary should not have to do anything except click the Accept button. How can I block those pop-ups in my macro i.e. I don't want to have to go to each person's computer and change their settings. ...Show All
Visual C# SendKeys error
internal int i; private void timer1_Tick(object sender, EventArgs e) { i = this.textBox1.Text; SendKeys.Send(i); //send password i =i+1; //password +1 SendKeys.Send("{enter}"); SendKeys.Send("{enter}"); this.textBox2.Text = i; } ========================== //SendKeys.Send () function Must be string ,But I need to send (int) number ??? hi, first of all i variable is int type and textbox.text is string type so how can you do this i = this.textBox1.Text; doesn't this give you error , what you want to do exa ...Show All
SQL Server Execute SQL 2000 DTS package from VB.NET 2.0
I'm building a simple application that must import a text file and export a text file in a different format. I've created the Transact-SQL routines that modify the import and the export. Since the database must run under SQL 2000, I assume I have to create DTS packages and then run them from buttons on the Windows form. What is the recommended procedure for executing DTS packages from a VB.NET 2.0 form PS This thread has already been moved around, so please just answer the question if you can. Thanks. ...Show All
