ANeelima's Q&A profile
Smart Device Development VB 2005 Smart device HRESULT E_FAIL COM failure
Attempts to create a new smart device app with VB 2005 compiled for PC 2003 or Win CE 5.0 result in an immediate error message of: "HRESULT E_FAIL has been returned from a call to a COM component." No other info about the error A console VB app ( not smart device) can be created and compiles correctly. Easy guys, just reinstall the compact framework !! http://www.microsoft.com/downloads/thankyou.aspx familyId=9655156b-356b-4a2c-857c-e62f50ae9a55&displayLang=es i solved it by this way !! Best Regards T.S.U. Gabriel Martin V ...Show All
Visual Studio Express Editions Can not use a Sub using graphics
This is my code. Sub Proces( ByVal e As System.Windows.Forms.PaintEventArgs) Handles Me .Paint Dim i, j As Integer For i = 0 To 200 For j = 0 To 200 If rd < alpha Then If grid(i, j) = 0 Then grid(i, j) = 1 aantal = aantal + 1 e.Graphics.DrawRectangle(Pens.Beige, i + 10, j + TextBox1.Height, 1, 1) End If End If Next Next rd = randomgen.NextDouble() Label1.Text = CStr (rd) E nd Sub I can not draw by using this. I need to draw a pixel in a procedure that is called when pressing on a button. Can somebody please help me ( the error says that :Argument not specified for parameter 'e' o ...Show All
Visual Studio Tools for Office Multithreading in VBA for Excel
How do you Multithread in VBA for Excel I know how to do it in Visual Basic Studio but I cant get it to work for Excel Is there a certain reference I need There is very limited information on the web about multithreading in Excel. The web also says Excel Visual Basic 6.3 has multithreading capabilities. Thanks If anyone has a simple example, such as two drawings moving simultaneously (not turn based, that appears to be simultaneously) Does anyone have an example of the API calls that would be used for threading My threading has used OWL2 up to this point - so no direct API calls. ...Show All
Visual Studio 2008 (Pre-release) Can't stop StoryBoard
I am creating an animation in procedural code. Nothing fancy, it just rotates a canvas. I initiate the animation like this TheAnimation.From = 0; TheAnimation.To = 360; TheAnimation.RepeatBehavior = RepeatBehavior .Forever; TheAnimation.Duration = new Duration ( TimeSpan .FromMilliseconds(2000)); // 2 secs per revolution SpinCanvas.BeginStoryboard(TheStoryboard); How can I stop it The sample code in the SDK ( How to: Control a Storyboard After It Starts) suggests that this will do the trick, but no dice. TheStoryboard.Stop(SpinCanvas ); Is it taking me too literally on the "Forever" part ...Show All
Architecture One Server AD, Exchange & MS-SQL
Hi All, Is it possible to run AD, File Sharing, Exchange and MS-SQL all on one Xeon server with 2GB RAM Beside the obvious that all the eggs are in one basket. This is for a small environment with only 30 users. My concern is that there are some conflict running all those application on one server. TIA I am not an infrastructure expert - but I would expect them all to install I would say though that you will probably run into performance problems - 2GB hardly seems enough - plus you didn't specify the storage you use, but I am guessing you do not have a SAN attached to that server - in w ...Show All
Windows Forms How do you No-Touch Deploy third party components?
I have read some posts about using the app.config to run dll components that are not in the client's global assembly cache. Is this possible If so, can someone please provide some sample code Here's what I'm doing: I am using third party components in my project and when I deploy my application from the web, it fails unless I manually go ...Show All
.NET Development Deserializing a *Node from an XmlSerializer written .xml
Im in the process of trying to figure the best design for logging some Exceptions that may occur in my application *(due to legacy data). I have basically created a class that keeps track of relevant bits of information about each exception and then uses XmlSerializer to log this to a file. I have no problem say, serializing an array of the same class, but, I've read that it's possible to deserialize a single node of the xml file, and I've been working a bit with the relative classes but haven't found how this is possible.... something along the lines of (pseudo code): node.deserialize I'm trying to create a logger that ...Show All
Windows Forms getting the error description of an invalid data entry
I use databinding to bind a textbox into a bindingSource (VS2005). The column the textbox is bound is of integer type. When the user enters a non integer value the binding stuff do not allow focus to be lost from the control, until the user corrects the error. How can I take a generic description of that error so that I can display it to the end-user using a errorProvider control, so that the users knows what the error is Do I have to write custom code in the Validating event even for this trivial check Something like this Private Sub txtInteger_Validating( ByVal sender As Object , ByVal e As System.ComponentModel.Canc ...Show All
Windows Forms Word Document in Web Browser control
I am loading a Word doc in a web browser control on a WebForm. I do not want the document to be editable, nor do I want any IE interaction, i.e. ctrl & N. I have been searching for days and cannot find a solution. Any suggestions would be greatly appreciated. Thanks! Hello, I have been trying to get an application to do the same thing. In fact I am having tons of trouble in trying to get word and the web browser control to stop asking the user questions. "Do you want to save your changes " -- What changes! ! The user alread pressed the save button dammit! "Can't open the docum ...Show All
SQL Server SQL Server 2005 Express on VISTA
Greetings! I tried installing SQL Server 2005 Express on my VISTA Beta 2 Box but before doing so, I checked if IIS is already installed and running. During the assesment of my current configuration, SQL Server 2005 Express is still looking for IIS. Are the conflicts regarding IIS 7.0 to SQL Server Express or the feature is not yet available. I will be continuing to do experiments with this one and hope there will be people who can share their experiences too. Thanks! I could not get SQL Express running yet, too. But it seems to be a known issues, because before installation I got an error that is a known compatibilty issue. ...Show All
Smart Device Development making a web service call
folks, i'm attempting to make a web service call in evc++ application for PPC. actually, i am back-porting the code from VS2005 and finding that "atlsoap.h" does not exist under evc++ 4. is there an equivalent or work-around I doubt there is an equivalent, but for a workaround, if your web service allows POST requests, I would suggest using XMLHTTP object. It provides a (more) convenient way of sending requests and receiving XML-formatted responses. Techinically, you could even build SOAP requests and receive SOAP responses this way, but of course it's more work ...Show All
Visual Studio Jump to report
Hi, I would like to "jump to a report" that is on a different folder. The dropdown only offers me reports in the current website folder. Is this possible Is the only alternative to use url passing parameters Thanks. Clarification: I created sub-folders to manage access rules. The "admin" has a report with links to reports in different folders. The admin has access to all these folders. Thanks. ...Show All
Windows Forms Waiting for third party-application to close
I'm trying to solve a problem, but can't find the right functions to use. (C++ or VB) Form my application I wanna start a thirdparty-program, and "set some kind of flag" that triggers my application after the thirdparty-program has closed/stopped. Any suggestions Thanks for taking the time to thinking about my issue. You might want to take a&n ...Show All
Visual Studio 2008 (Pre-release) Why is everything in Avalon so blurry?
As my title says its all, everything in avalon seems so blurry, XamlPad is blurry as! :S Things are not blury on my machine, and I suspect the same is true on most machines. If you can be more specific you might get more specific help. ...Show All
Visual C# How to handle cancelation of a file selection by a user, in a helpermethode
I’m trying to design a standard methode that returns a SqlConnection to its client. If the methode can’t find the standard file for whatever reason, it should open an OpenFileDialog form with which the user can select the correct file. My problem is that when the OpenFileDialog opens, it is possible that the user selects the cancel button. This means that the standard methode will not return a correct SqlConnection object. This will then call an exception in the client methode that I can handle, but I can’t define if this exception is due to a cancellation by the user in which case I don’t need to warn the user but just nee ...Show All
