Trisha1802's Q&A profile
Visual C# Programatically Change Windows Themes
Is there a way to programmatically change windows themes using .Net 2.0 and C# I ask because I am unable to figure out how to make all themes the same over my network domain. Since I can't figure out how to do it with AD (i'm using a 2000 server with mixed 2000 and xp pro clients) I thought I would make an application to do the job. Any help would be much appreciated. Hi, This thread is on the topic: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=1072274&SiteID=1 Hope it helps. Thank you ...Show All
.NET Development Converting from system.web.mail to system.net.mail
I have been trying to convert to system.net.mail with no luck so far. I am positive that I have my smtp server ip, port and authentication correct. Here is a code example of how I am trying to send my emails using system.net.mail... //create the mail message MailMessage mail = new MailMessage(); //set the addresses mail.From = new MailAddress(sendAddress); mail.To.Add(recieveAddress); //set the content mail.Subject = "This is an email"; mail.Body = "this is the body content of the email."; //send the message SmtpClient smtp = new SmtpClient(myIP); smtp.EnableSsl = true; smtp.Credentials = new NetworkCredential(username, password); try ...Show All
Windows Live Developer Forums User Collection
I am starting to lose my mind here! I am developing my first third-party game for the Windows Live Messenger and I can't seem to get the example scripts to work. This is wat my XML looks like: < xml version="1.0" > <Entry> <EntryID>7</EntryID> <Error /> <Locale>en-us</Locale> <Kids>1</Kids> <Page>1</Page> <Category>50</Category> <Sequence>10</Sequence> <Name><my game name></Name> <Description><my description></Description> <URL><working link></URL> <IconURL /> <Type>Dir</Type> <Height& ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Extremely low Framerate
I am getting a very very slow Framerate. I will post the code of my Engine component. It's a GameComponent added to the main component through the Designer. public partial class Engine : Microsoft.Xna.Framework.GameComponent { public Engine() { InitializeComponent(); } public override void Start() { CompiledEffect compiledEffect = Effect.CompileEffectFromFile("Resources/Simple.fx", null, null, CompilerOptions.None, TargetPlatform.Windows); effect = new Effect(graphics.GraphicsDevice, compiledEffect.GetShaderCode(), CompilerOptions.None, null); graphics.GraphicsDevice.RenderState.CullMode = CullMode.CullClockwiseFace; graphics.GraphicsDevice.RenderState.SourceBlend = Blend.Sour ...Show All
Visual C++ How to out put the value of a variable, during debugging?
During debugging, How can I make the debugger to out put the value of a variable and the return value of a function OutputDebugString works too. Even if you're not debugging and use SysInternal's DbgMon utility... ...Show All
Game Technologies: DirectX, XNA, XACT, etc. DirectPhysics in the works?
I heard talk about it. If it is in the works, will it just be available for .NET users, or will everyone be able to take part in it I would definitely like it for C++. Thanks in advanced. ...Show All
SQL Server OLE DB Destination fails with illegal instruction
Environment: Server Windows 2003 SP1, VS 2005 I ran into this problem trying to deploy an SSIS package to a development server. I tested by creating a simple SSIS package on the server itself. Two blocks an OLE DB Source block and an OLE DB Destination block. Two tables in the same database, one the source, the other the destination. Connection manager test connection works fine. Package will execute from the IDE (locally on the development server), source block will read the table subcessfully, but when the destination block executes it fails and will stay yellow in the status screen. during the execution SQLDumper.exe is triggered. Analyzing the dump tells me: (2b40.2938): Illegal instruction - code c000001d (first/second chance ...Show All
Smart Device Development The remote connection to the device has been lost.
Hi, I get the following message when I run my application on my pocket P.C. It happens randomly. Sometimes it works fine. Other times I get this message. I am not using any breakpoints. At the moment it is happening when I try to add data to a database from information got from a form. The con.executenonquery line causes this error. "The remote connection to the device has been lost. Please verify the device conection and restart debugging" Does anyone know why this happens, and if so, how to fix it Michael Thanks for the reply. I am connected to the remote DB via a USB cable and Active Syn. There is no problem with the cable. This really seems to be a bug with .Net or A ...Show All
SQL Server AcquireConnection method call fails when scheduling a job with Excel Connection Manager?
I have a SSIS package that reads the data from an Excel file using an Excel Connection Manager and imports the data to a table on a SQL Server 2005 DB instance. When I run this package locally on the server the package being on the file system, the package executes perfectly. Now I upload the package to the msdb database and the run the package from there and the package still executes successfully. Now I schedule the package to run as a SQL Server Agent job and the package fails and when the logging is enabled I see this in the log file; OnError,WEB-INTSQL,NT AUTHORITY\SYSTEM,Copy to CRN-ALLOCATION_COMMENTS_TEMP,{40A6BF6E-7121-448B-A49D-DED58FDC746A},{BD991566-F4BD-41BC-AEBF-264032D8D0D3},5/9/2006 1:54:52 PM,5/9/2006 1:54:52 PM, ...Show All
Visual Studio Team System get Latest
Every time when i want to get Latest version of a project, why give me a message says All FIles are up to date. No files were updated because the requested file versions were previously downloaded. To force an update, use the "Get Specific Version" command with the "Force get" option checked. What does it mean What should I do to be able to ust get latest directly Thank you What working directory are those commands run from That's how tf get decides which workspace to operate in. Also, you have an extra ';' in there, not sure what that might do. /map $/SurfControl ; ...Show All
Microsoft ISV Community Center Forums Filling data from one sheet to another (excel)
Hi, Maybe someone can help me out with this code. I have one worksheet, that I get everyday that is long and one cell is filled with customer numbers. On another sheet, I have a list of all of the customers and there coresponding customer number. I would like to have a little code that each day I can execute and the daily sheet will populate the customer number cell with the accual customer name. I don't really know where to start, any help would be appreciated! Hello, Have a look at the VLOOKUP and HLOOKUP functions these let you lookup a value based on an unique index (your customer number). How you apply the function really depends on how you want the lookup to work. Have a look an ...Show All
SQL Server Error after migrating to SQL Server 2005
I'm trying to migrate MS Access 2003 query into SQL Server 2005 view. I'm getting error for the following query. ERROR: Incorrect syntax near the keyword 'LEFT' MS-Access query: SELECT tbl.*, tblP.ParticipantLastName, tblP.ParticipantFirstName, tblP.ParticipantAmount, tblP.SocialSecurityNumber, tblP.Comment FROM tbl LEFT JOIN tblP ON tbl.AutoNumber = tblP.RecordNumber WHERE ToBeProcessed='YES' and [Cancel]=0; SQL Server View: CREATE VIEW dbo.[qryReport] AS /* * Generated by SQL Server Migration Assistant for Access. * Contact accssma@microsoft.com or visit http://www.microsoft.com/sql/migration for more information. */ SELECT tbl.*, tblP.ParticipantLastName, tblP.ParticipantFirstName, tblP.ParticipantAmount, ...Show All
.NET Development connection attempt failed response from webservice
First the complete error from the error page: [SocketException (0x274c): A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond] System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress) +1001970 System.Net.Sockets.Socket.InternalConnect(EndPoint remoteEP) +33 System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Int32 timeout, Exception& exception) +431 [WebException: Unable to connect to the remote server] System.Net ...Show All
Visual Studio Tools for Office Word MAil Merge Automation (MailMerge.execute)
In the following code If I use WordDoc.MailMerge.Execute() it opens up another documet named FormLetters, Question is what's use of WordDoc.MailMerge.execute Private Sub DoMailMerge() Dim WordApp As New Word.Application Dim WordDoc As New Word.Document Try WordApp.Visible = True WordDoc = WordApp.Documents.Open("c:\mydoc.dot") ' Template no merge inside this document only fields WordDoc.MailMerge.OpenDataSource(Name:= "c:\sqlserver.odc") 'Perform Merge 'WordDoc.MailMerge.Execute() 'Do I Need this statement. Mail merge still works without this WordDoc.SaveAs(strFileName) Catch Finally WordDoc.Close(False) WordApp.Quit(False) WordDoc = Nothing WordApp = Nothin ...Show All
Smart Device Development Update Data in MS-ACCESS in PC from PPC
Hi all, I would like to update data in a MS-Access Database which is in the Local IIS Server. I have to update the data from the PPC which is connected to the PC using Cradle. Can anyone get me some Ideas on this... Thanks in Advance. Biju S Melayil sounds like DNS issue - its unable to do the necessary routing. Can you connect your IIS using its IP address and not via name Manav ...Show All
