guilherme mendes's Q&A profile
Software Development for Windows Vista Windows Mobile Device Driver Update
When I attempt to install the Windows Mobile Device program (the Vista version of ActiveSync), the setup goes half-way through the "Gathering required information" status , and then reads: A network error occured while attempting to read from the file: C:\Users\Alex\Downloads\drvupdate-x86[1].msi Since I'm pretty new to Vista, what is the solution to this problem The operating system is Windows Vista Enterprise. Does that make a difference No i dont think the version of vista makes much differences... i am currently running on vista home premium and i am facing the same problem when i was installing my O2 Xda atom... i think its either a common bug or its just that the file that we downl ...Show All
SQL Server Copy data in Sql Server table A to B on same server - Identical schemas
Greetings, I have two SQL Server tables on the same server and in the same database. I'll call them table A and table B. They have identical schemas. I need to insert all rows in table A into table B. (Don't laugh - this is just for testing and long run the tables will reside on different servers.) Can someone please tell me the correct task to use for this and the connection type I need for both the source and destination Thanks, Black Cat Bone If they are in the same database then a SQL statement should do it. You don't need SSIS. INSERT INTO TableB SELECT <column-list> FROM TableB -Jamie ...Show All
.NET Development convert database to xml
my first experience to create ado.i must to convert my database(all tables,relations,views,procedures) to XML,client works only with dataset(restore from XML) without connection to database in server. 1from system tables i get all names tables and in loop add every table to dataset,what way to add constraints,views,procedures. i read about primary key -use property adapter: thisAdapter.MissingShemaAction=.MissingShemaAction.Addwithkey every foreign key add separatly how add views,procedures thanks for help.wait answer. Hi, First, I'd like to know which database are you working with Initially, The dataset works with two types of constraints, one for Unique values, and one for foreign k ...Show All
.NET Development clear all data form the database?
I wont to clear all the data from tables in the database. I have studentiDataset, and i tried this code: Form2.StudentiDataSet.Clear() Form2.StudentiDataSet.AcceptChanges() I also tried to add after this code tableadapter update method for all tables but it didn't work. How can i doo that Thanks! This code will never do anything. If you call AcceptChanges before calling Update, then there is nothing for the adapter to do. Remember, when you call Update, the adapter loops through the table and examines each row's Rowstate - so AcceptChanges sets everything back to unchanged. Also, the real question is if you need this action logged or not. If not, the use TRUNCATE TABLE <TableName&g ...Show All
Visual C# Sound In Form...
Hi, I was wondering if someone could provide me with some code to simply add a continuous sound playing in the background of a form I have performed a few searches but all examples are really complicated. Isn't there an easier method hi, i have a simple solution for it. we can give it in <bgsound> <head> <bgsound src="mysound.wav" loop=10> if you give loop = infinite it will play repeatedly... and if you want at server side add runat =server. i don't say its a perfect solution.but its a simple one ..try it out.. Regards Baji Prasad.B Bangalore India. ...Show All
Visual C# this.Invoke OR Control.Invoke ??
What is the best why to do the invoke when working with threads I have this procedure, this works. Here I use the Control (this.txtAction) Invoke method. private void SetTxtAction(string t) { if (this.txtAction.InvokeRequired) { MyDelegates.setText d = new MyDelegates.setText(this.SetTxtAction); this.txtAction.Invoke(d, new object[] { t }); } else { this.txtAction.Text = t; } } My question is if there are any performance or other differences if I would use... this.Invoke(d, new object[] { t }); ** ...Show All
Software Development for Windows Vista Failed Vista RTM install, Back out issue
Hi all, I tried installing Vista RTM on a system containing an Intel 82801ER SATA RAID controller. Although the initiall install seemed to take the 5.5 XP drivers, upon first reboot, I got a BSOD. The Vista bootloader lets me revert to an earlier version (xp pro), however, when I restart Vista's bootloader is always there. I only have about 1 second to catch the bootloader screen. I looked in the XP startup options, and it doesn't show the Vista bootloader at all, so it appears that Vista uses something different. Anyway, I suppose I could handle that, however, now when I boot into XP, my CD-ROM drives won't show up. In device manager, they show up, but with the exclaimation point beside them. I've tried uninstalling them from device mang ...Show All
Software Development for Windows Vista No Disk 5 on MSDN Vista ISO image disk - disk 3707
I have just tried to install Vista Ultimate onto my laptop using my Windows Vista Disk from MSDN. I burnt 4 disk's from the iso image dvd(only 4 available on the dvd) onto cd. After the installation copied 98% of the files from the 4 disks it then asked me to insert the 5th disk! I was a bit flabbergasted. Has anyone heard of this Thanks Paul, I've since read that MSDN acknowledged the error with the 5th iso missing and will re-ship with the March updates. ...Show All
SQL Server "Package Configurations" Problem
Hi all, I have just set up my first deployment utility for the Integration services package i've been building. I seem to be getting problems with the package Configurations. I added an XML config file so that i could change the values of my SQL connection manager at deployment time. This was so that i could deploy it on both a test environment and the live environment. Any other variables can be changed in code by the calling application. As soon as i added the options for the sql connection manager and enabled package configuration i got errors when running the application: [Execute SQL Task] Error: Failed to acquire connection "InternalProductionData Connection Manager". Connection may not be configured correctly or you may no ...Show All
Visual C# Live Update?
How could I add a live update to my application using: WebClient client = new webClient(); client.DownloadFileAsync(Uri address, FileName filename) I can download the file and run it with a dialog box, but I need to check the version of the file I have just downloaded. And if the file version is higher than the current, it runs, else it shows a MessageBox. See This: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=840615&SiteID=1 Best of Luck! ...Show All
.NET Development Type Conversion : MSHTML collection with a string containing HTML
I want to convert a string variable type containing HTML to mshtml.htmlDocument using DirectCast keyword. DirectCast throws an InvalidCastException error. Can anyone help Here is the code : Dim Request As System.Net.HttpWebRequest Dim Response As System.Net.HttpWebResponse Dim MyStreamReader As System.io.StreamReader Dim Content As String Request = System.Net.HttpWebRequest.Create(" http://www .....") Response = Request.GetResponse() MyStreamReader = New System.IO.StreamReader(Response.GetResponseStream()) Content = MyStreamReader.ReadToEnd() MyStreamReader.Close() Dim doc As mshtml.HTMLDocument = DirectCast(Content , mshtml.HTMLDocument) Regards. ...Show All
Visual Basic Sample CreateWindowEx API
Hi Everyone again, finally, i got how to replace the start button of xp. u need to call 2 api's: findwindowex and createwindowex. and i got a question on the 2nd one: visual basic code: First all, you are going to have to "Hook" the start button to receive messages intended for it. Make your form hidden until it receive the hooked message it the forms winproc. Then set the form to topmost=true and it should cover the button and system tray by setting the form location corrdinates. Upon receving the hook message, make the form visible. ...Show All
SQL Server SQL Server 2005 - Transactions
Hello guys! I am working with SQL Server 2005 a few months, and i need your help about transactions topic. In first, i hope you are patient with my english, i will try to explain it the best i can ;-)) and now... my question and thanks you in advance. I am trying to set the transaction option of a foreach loop container task in run time using the Expressions option. There, I have configured the transaction option of this task with a variable value (var type int) and this variable is informed at the beginning of my dts using a script task (values: 0 for Not Supported, 1 for Supported, 2 for Required). The problem is the transaction option gets the variable value but... the variable value by default. After, during the dts executi ...Show All
Visual C# Is it possible to catch a c++ assert dialog using c#?
Is it possible to catch a c++ assert dialog using c# So, if a c# application is interacting with a c++ application and the c++ application launches a c++ assert failure dialog is it possible to catch it in c# so the dialog is not displayed Thanks. Not that I'm aware of. The C++ assertion dialog should only be generated by debug code. It is generated within the C++ RTL and can not be prevented as there is no communication back to C# (or anybody else) that the dialog is going to be displayed. Michael Taylor - 7/28/06 ...Show All
SQL Server Format / Alignment
Does anyone else have this issue When making a report with VS2005, things get spaced out wierd and dropped down when deployed to the web I can't get things like images to position properly. Does it have anything to do with the fact that I am using a Matrix For example, I create an image and embed it, I have it all the way to the left of the form and when deployed it is more towards the middle of the page Very frustrating, just wondering if anyone has any tips/solutions. I figured out a way around it in case anyone has the same problem. Keep the Matrix in the body and create a header and footer to put all the other stuff in. Everything is fine now. ...Show All
