amendez's Q&A profile
Smart Device Development How to Send file to development computer from target device running WinCE5.0?
Hi, sorry to bother you! I develop WinCE Application for the first time. I was wondering how to access file between My PC and target device thank you ! ...Show All
Windows Forms Font is Combobox text?
Hey, How would I make it so that the font in a richtextbox is the selected font in a combobox(combobox2.text) I tryed thisrichtextbox.TextBox.Font = (toolStripComboBox2.Text); but I got a error with the toolstripcombobox2.text part...: Cannot implicitly convert type 'string' to 'System.Drawing.Font' Thanks :) Oops unless you had selected text, you would not see the change. Sorry, try this thisrichtextbox. Font = comboBox1.Font; ...Show All
Visual Studio 2008 (Pre-release) Forcing Update of UI before my function exits
I know this question has been asked before, but none of the answers given work for me. I have a function that performs a long operation. Before that function does all its work, I want to set a Status message in my Status bar. The problem is that UI updates don't seem to occur until the function has exited, by which time the Status Message is no longer relevant. What can I do to force the UI to update I've tried calling UpdateLayout(). I've tried calling InvalidateRender(); I've tried setting the Status Bar properties within a delegate passed to Dispatcher.Invoke with DispatcherPriority.Render. None of these work. I have, elsewhere in my App succesfully used Background worker to perform longer running operations asynchronusly. I ju ...Show All
.NET Development Conversion failed when converting datetime from character string.Hi Jeff I get this error for each variable
ms visual studio 2005 sql erver 2005 I originally posted this question at experts-exchange without resolution http://www.experts-exchange.com/Databases/Microsoft_SQL_Server/Q_22069012.html http: / / www. experts- exchange. com/ Programming/ Programming_ Languages/ Dot_ Net/ VB_ DOT_ NET/ Q_ 22068922. html I get the following error when trying to insert into db from web app have tried.... txtrequireddate.Text.ToString("dd-MMM-yyyy ") reqrddate = Convert.ToDateTime(txtrequireddate.Text) reqrddate= CDate(txtrequireddate.Text) Server Error in '/' Application. ---------------------------------------- ---------- ---------- ---------- ---------- Conversion failed when converting datetime from character string. Description: An unhan ...Show All
Visual Basic how to compile a .dll into my .exe file?
My code calls functions provided in an io.dll file. The problem is when I pass my exe file to others, I need to send this io.dll to them and ask them to put that in the same directory of .exe file. Is there any way I can compile this .dll file into my code so that only one file is necessary to pass around Thanks. What you're trying to accomplish is not an easy feat. If you got it to work (below) it would be largely considered hackish. Is there any reason why you can't ship the DLL as well As DMan has pointed out you could compile this assembly as an embedded resource. However on startup you would have to read the assembly out and write it to disk next to you EXE before you accessed any types ...Show All
Visual Studio Team System TFS MSSCCI asking for login info when using 3rd party IDE
My problem is as follows: I am using a 3rd party IDE. Eadh time it connects to the server (e.g., to open files from source control, refresh SCC status, etc.), I get prompted by TFS to provide Team Foundation Login Information to communicate to the server over HTTP or HTTPS. I have read the thread https://forums.microsoft.com/MSDN/ShowPost.aspx PostID=1086788&SiteID=1 , however it only applies to VS 2K3 (the IDE I am using does not have the Login ID option). My question is: I am trying to connect to the server using the credentials of the logged in user. Is it possible to set the TFS client to always forward the credentials of the logged in user (user name/win pass) to the server instead of prompting me every time If not, are ...Show All
Smart Device Development standalone ARM Device Emulator
hi everybody, i want to use the standalone device emulator to demonstrate my application on a computer that does not have Visual Studio 2005 installed. Witch files do I need to copy from my devellopement computer, to be sure that everything will work thanks Julien You will need to have all device emulator binaries installed in Microsoft Device Emulator\1.0 directory copied to your demo pc and registered appropriately. Also you will need to have the OS images on which your demo is going to work. Please note visual studio boots from saved-state instead of cold booting, so is very fast. Also you will need a mechanism to move your application to Device Emulator memory. There are three ways for ...Show All
SQL Server Monitoring Queue status
Hi, I'm new to the service broker service. All I want to do is to monitor the queue status. If the queue is disabled, send me an email alert. Can you let me know what's the best way to accomplish it Thanks, Jia if (( select is_receive_enabled from sys.service_queues where name = 'PublisherQueue ' ) = 0 ) begin execute msdb . dbo . sp_send_dbmail 'MyDBMail' , 'me@abc.com ' , @subject = 'queue is down' end ...Show All
Visual Studio Express Editions Web Browser Progress Bar
Ok, so recently I downloaded the Visual C# 2005 Express edition (wow...why doesnt everyone have it ) :) and I started creating a simple web browser. One thing that I still have not got to work yet is the progress bar. Here is the function I have: private void webBrowser1_ProgressChanged( object sender, WebBrowserProgressChangedEventArgs e) { //ProgressBar toolStripProgressBar1.Value = ( int )((( double )e.CurrentProgress / e.MaximumProgress) * 100); } This Code works to some extent, i guess, because after the page is fully loaded, it fulls of green, but i do not see any inbetween stages. If anybody has any insightful information on this topic, it would be greatly appreciated!! :) Thanks, paoloTheCool ...Show All
Game Technologies: DirectX, XNA, XACT, etc. how to get input from various keyboards with directinput
First sorry for my bad english... I want to get input from various USB keyboard, and I need to know from which keyboard I get the keystroke, I prove the directinput objects in VB 2005. This are the code that I use in the declaration section (in this case I use 2 USB Keyboard) Implements DirectXEvent8 Private MiDirectX As New DirectX8 Private MiDirectInput As DirectInput8 'the object to my first keyboard Private diDev As DirectInputDevice8 'the object to my second keyboard Private diDev2 As DirectInputDevice8 ' Private keyState As DIKEYBOARDSTATE Private keyState2 As DIKEYBOARDSTATE Private ManejaEvento As Long Private ManejaEvento2 As Long ------------- ...Show All
.NET Development Deploying certificates for wse 3.0 web services
Hi everyone I was wondering if someone could help. We have an app and web services that we have built, the web services are secured using WSE 3.0 with certificate based authentication. Whilst everything has been developed we have been using test certificates but now we are getting close to the deployment stage. I have been trying to look for some information on how to use certificate based security in a production enviroment, but really can't find a great deal. I have been speaking to verisign to get a certificate that can be used but when it comes to deploying that certificate my mind is hitting a brick wall. Also this application will be deployed via click once. Can anyone help or has already used WSE 3.0 certificate security in ...Show All
SQL Server Server Error : launching SSIS using a webservice and Asp.net
Hey guys, I have a webservice set up on the same box where my SSIS packages sit at. I have an ASP.net app which calls the webservice. The webservice in turn invokes the ssis package and , I run it on file system. i keep getting this error System.Web.Services.Protocols.SoapException was unhandled by user code Message="Server was unable to process request. ---> That assembly does not allow partially trusted callers." Source="System.Web.Services" Actor="" Lang="" Node="" Role="" StackTrace: at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall) at System.Web.Ser ...Show All
Visual Studio Team System SP1, TF30059, TF53018, inconsistent tiers
Hi, this is the second system that got knocked out by SP1. The SP1 really raises my blood pressure. The SP1 installation went through smoothly. No error messages. Client Side Symptoms On the client side I can access work items, reports, documents and team builds as always but get an error message when trying to access source control. The error message says: http code 503: TF30059: Fatal error while initializing web service Client Side Analysis All web services are up and running. Server Side Symptoms The app tier’s event log shows the following error entry: Event Type: Error Event Source: TFS Version Control Event Category: None Event ID: 3014 Date: 29.01.2007 Time: 10:44:19 User: ...Show All
Visual Studio DSL opens as XML
Hi, When creating a DSL with VS 2005 Pro and the SDK 2006.09 I get following unexpected behavior: create a new DSL using the MinimalLang template transform the templates build and run (Debug) after this a new VS window opens with my DSL, but when I double click on Sample.mydsl1in the solution explorer the XML file is opened and not the diagram design. When I right-click on sample.mydsl1 and select Open with my newly created language is not listed as an option. I guess something must be going wrong with the registration process in the exp hive. I have de- and re- installed VS and the SDK, but still no luck. any help would be greatly appreciated! Thx, Stef Ste ...Show All
.NET Development Manipulating web requests
Guys, I am working on a web service that checks an airline website for available flights , i need a way to submit my flight details to the webresponse that i get and post it back to get the results, i couldnt find any method or property in the web Response or Web request classes to help me aacomplish my task ,how can i make my app acts like an end-user on a web page(click buttons , choose menu items...etc) Thanks in Advance, Ali 46 Views and no 1 gave a small hint!!.. so far i managed to use the web browser control embded in .Net 2.0 , i am able to programmatically navigate to the target web page and refresh it on timer tick ,but the problem now...i cant read the text on the web page because t ...Show All
