cmendozas's Q&A profile
Visual Basic Office Assistant
Hello, Does anyone have experience in using the Office Assistant (like Einstein) with Visual Basic 2005 .NET ...Show All
Visual C# Calling External Process from Application that uses files on installed directory
Hi to everyone: I'm calling an external application from my app using the System.Diagnostics namespace. Everything works ok, except that the application needs some files that are located in it's installed directory, and when I execute the application from my app, it looks for those files on MyDocuments directory! Of course this doesn't happen when a use the application's installed shortcut on my desktop or whatever... Is there any way when I call the Process to tell it that it's work path will be it's location path Also, is there any way to know if that process is allready running, so i can call open only 1 instance of it Thanks for everyone's time. Daniel Sovino code: I ended up using the same process class, but specifying the workin ...Show All
Visual Basic codes to start reader
i am using the vb.net 2003 to write a rfid programme. i would like to ask lets say i have a button start reader. what codes do i put inside to startup the reader are this codes correct Private Sub startReader() Try rdr.start() 'tmrInView.Enabled = True Catch ex As Exception MsgBox(ex.Message) End Try End Sub thanks ok. so as long as i put this codes under my start button it will call my reader what about the codes to end reader how do i write it thanks ...Show All
Visual Studio Express Editions Winsock Where is it?
Where do I find the Microsoft Winsock Control 6.0 A website told me to load that component but I dont know how help please thanks. Hi Why not to use the System.Net.Socekt Namespace it has all the implemenation of Sockets. You can use High level and as well as low level socket programing through the managed name space. ...Show All
Visual C# Attributes
I just wanted verification on this. If I use custom attributes to document bug fixes in my code, will that effect run-time performance [ BugFix("01/01/07", "Fixed problem with calculation...")] [BugFix("01/04/07", "Added error-handling....")] public void MyMethod() { ................ I could use the XML comments, but I could also use the attributes, since they will generate with the SandCastle documentation. Also it allows the possibility of building a utility to pull the code modifications out into a report all by itself via reflection. ...Show All
Visual Studio 2008 (Pre-release) Where are the Windows Forms controls equivalents?
Hi, I was wondering if we are going to see equivalents of the Windows Forms Controls and Windows Forms capabilities in WPF. Although WPF seems impressive, it lags the Windows Forms power and its also counteractive. Two things: 1) There are a set of controls and features that are simply lagging in WPF. DataGrid, MaskedTextBox, etc. These won't make it for V1, but we are *very* aware of their demand and plan to address the hole ASAP. 2) For certain other things (like Image in Button) previous replies get the idea. We think it's *more* powerful to allow people to put anything in a Button than to explicitly provide an Image property. (What if you want 2 images Do you need an Image2 property ) While ...Show All
Windows Forms Macromedia Flash
i would like to know how to add macromedia flash into a page im a noob at this can someone please help... add html code like below in your page: < OBJECT CLASSID ="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" WIDTH ="100" HEIGHT ="100" CODEBASE ="http://active.macromedia.com/flash5/cabs/ swflash.cab#version=5,0,0,0"> < PARAM NAME ="MOVIE" VALUE =" moviename.swf "> < PARAM NAME ="PLAY" VALUE ="true"> < PARAM NAME ="LOOP" VALUE ="true"> < PARAM NAME ="QUALITY" VALUE ="high"> < EMBED SRC ="moviename.swf" WIDTH ="100" HEI ...Show All
SQL Server Very Urgent ASP.NET 2.0 with SQL Server 2005 - ADO.NET 2.0 DataAccess using Functions (CTE)
Dear All, We developed a web based application using asp.net 2.0 with C# and back end SQL Server 2005. In Database we wrote a CTE for get record from SQL Server 2005. In ASP.NET, we wrote Dataset (xsd file) for DAL using TableAdapter we retrive the data using Table adapter in Dataset. In Local development Web server working well. When I hosted to live web server I encounter the new type of error. The query has been canceled because the estimated cost of this query (706) exceeds the configured threshold of 300. Contact the system administrator. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where ...Show All
SQL Server How to copy a DB, with T-SQL?
Good afternoon. How, with T-SQL, to copy a database under other name (i.e. the DB - bd1 should be copied it in bd2. Business occurs on one server MS SQL 2005) But to copy, so that transferred all procedures, triggers, ... . Thanks! backup database bd1 to disk = 'c:\bd1.bak' go restore database bd2 from disk = 'c:\bd1.bak' move '<data filename>' to 'c:\somenewfolder\bd2.mdf' , move '<log filename>' to 'c:\somenewfolder\bd2.ldf' go ...Show All
SQL Server Failed to Start Package
Hi, I am getting the following error message, when I was trying to execute an existing SSIS Package which was working properly before. "Failed to Start Package Cannot communicate with the debug host process. Failed to obtain child process active object. (Microsoft.DataTransformationServices.VsIntegration)" So I tried creating a new package and execute it, still I am getting the same error message. If anyone have come across this problem and rectified it, pls let me know. Thanks in advance for your help. Regards, Prakash Srinivasan Prakash Srinivasan wrote: Also, I wanted to know why this happened suddenly I'm interested too, but since this is you ...Show All
SQL Server Using IDTSEvents interface when running a Package
I am running a package from a C# application. I would like to use the IDTSEvents interface to capture events from the package such as OnPreExecute, OnWarning, OnError, etc. I created a class (PackageEvents) that implements the IDTSEvents interface. I pass a PackageEvents object into the Application.LoadPackage call that creates the package. The package runs successfully as usual, but nothing happens in my PackageEvents class. None of the breakpoints hit (I put one in every function). What do I need to do to get the class that implements IDTSEvents to be called All the properties of the package object seem reasonable at runtime. Here is a code snippet that shows what I am trying to do: // Class that implements the IDTSEvents i ...Show All
Visual Studio 2008 (Pre-release) Blend modes not supported in WPF?
Are blend modes not supported in WPF With the recent release of WPF/E and the new CTP's for the Expression tools, my interest in WPF has rekindled. However, after searching the Web and Newsgroups it seems that blend modes are not supported in the WPF. I'm not quite sure what the rationale behind leaving this feature out of WPF was. (Purhaps time constraints ) I'm sure the developers on the WPF team know how to program support for blend modes. It's pretty much well documented on the Web. I've even written a few for a custom layering application I wrote for .Net 1.1. a year or so ago. It's odd that they took the time to program support for filters such as drop shadow, blur, and reflection, but not ...Show All
Windows Live Developer Forums custom error message for findlocation
Is there a way I could display a custom error message when no matching location is found instead of: "Virtual Earth could not find a match for the location. Please check your spelling, enter the complete address including country name and commas, and try again." OR is there a way I can stop that message from being displayed Same for the message displayed when a close match is found. Is there a way to not display that popup message Basically it is a hack completly unsupported based on looking at the div that has an id of #a_vemessagepanel. Strange since it works for me... OK i've recreated your problem and can't get it to work. I'll get back to you, need to launch a new demo site. Somethin ...Show All
SQL Server Erasing digit
Hello. I have a column in my database which is holding phone number. The problem is that although I gave the number starting with zero but it will erase it automatically. So can you help me to solve this problem Thank you KHodam wrote: Hello. I have a column in my database which is holding phone number. The problem is that although I gave the number starting with zero but it will erase it automatically. So can you help me to solve this problem Thank you As Paul alluded to, you aren't storing the phone number as an integer, are you Store it as a varchar and make sure that inside your data flows that you aren't converting the phone number to an integer. ...Show All
Visual Studio Express Editions start application
How can i start another application for example Google Earth Hi there, You can start any external application by using a Process class. C# Code: System.Diagnostics. Process p = new System.Diagnostics. Process (); p.StartInfo.FileName = "abcd.exe" ; // set your executable file path p.Start(); VB Code: Dim p As New System.Diagnostics.Process p.StartInfo.FileName = "" 'set your executable file path p.Start() ____________________________________________ May the God blessing be. LotraSoft Ltd. ...Show All
