jchau's Q&A profile
Visual Basic Copy dictory
Hello I am trying to make my program to copy a folder and paste it to somewhere else. But it gives be an error when i try this. btw i am trying to make a timer do this. when i use my.computer.filesystem.copydictory will it then overwright the other files in the folder cuz i need it to do that... Just keep copy and overwright but if a file in the folder that is copyed from gets deleded it may not get deleded in the copyed folder my code: Public Class Form1 Dim hvor As String = "C:\Programmer\Wizet\MapleStory\GameGuard" Dim hvortil As String = "C:\Programmer\Wizet\MapleStory\GameGuard2" Private Sub Button1_Click( ByVal sender As System.Object, ByVal e As Sy ...Show All
Windows Forms Toolbar and menu items
Hello everybody.. I have two problems that are making me crazy... i hope some of you can help me.. I'm developing a windows forms app, vs2003, c#, and i have a typical toolbar on the top of my forms which i use as a menu, it has some several toolbarbuttons (some of them pushbuttons, other dropdownbuttons) and i need to change the text color displayed by the buttons, using my own specified color (rgb combination) but i can't do it.. the forecolor property of the toolbar seems to have no effect and the toolbarbuttons don't have this property available, i've tried with the text as images, but it doesn't work because only accepts icon formats (16x16) anything else bigger is not displayed correctly.... On the other hand my second problem is ...Show All
Community Chat AIM,YAHOO and Rediff Sniffer
Hi, I created a small sniffer which sniff rediff,aim and yahoo protocol data. you can get it here:- http://www.secgeeks.infys.net/aim_yahoo_and_rediff_bol_sniffer thanks ...Show All
Windows Forms Create Custom Form Borders
Does anyone know of any tutorials that show how to build a form in VS.NET 2003 (C# 1.1) that includes custom borders I found a sample that does exactly what I want but it's for VS.NET 2005 (.NET 2.0). Here's the link to the 2005 version: http://www.geekswithblogs.net/kobush/articles/CustomBorderForms.aspx Thanks for any input. - Kevin I don't see anything .NET 2.0 specific, other than (perhaps) double-buffering. What are you having a problem with ...Show All
Smart Device Development Power off/on with EXE on SD Card
If you run an EXE that resides on an SD card, then while it is running, you turn off, wait a few seconds/minutes then turn back on, will the app continue to work correctly or will it crash because the PPC had to remount the card and reassign file handles I developed an app, runs fine in main memory and runs fine on the SD card. However, when I power off, then on, the app will crash when it is on the SD card, but run fine it in main memory. Any docs, PDFs, URLs that go into detail about this issue Thanks, Hilton That is a simple AV which you can get for any number of reasons including bug in NETCF code or bug in your code. With managed code that most commonly due to managed memory been passed to native c ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Content pipeline and "Game Library" projects
So I made a "Windows Game Library" project which needs an Effect File. I added the file to the project and tried to load it with ContentManager.Load. The client "Windows Game" project invokes the game library which can't find the asset. If I add the asset to the client library, it works fine. A quick look at the bin directory shows that the content pipeline is infact compiling the shader. A curious purusal with .NET Reflector shows that content loading works off the EntryAssembly (and that makes sense most of the time) Is there any way to load content from the currently executing assembly The situation you're describing is working fine for me. I have content files in the "lib ...Show All
Visual Studio Express Editions Access table creation conundrum in VB2005E
Hello, An Access database was created and opened in VB. This database has no tables. Never had. Hoped that will be the same procedure to create a table as is with an sql database i.e. right click on Tables>Define Table. The database.mdf icon is there but only Query is possible, unfortunately there is nothing to query, because the table was not defined yet. ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Private Sub btnCreateTable_Click( ByVal sender As System.Object, _ ByVal e As System.EventArgs) Handles btnCreateTable.Click Dim conADO As ADODB.ConnectionClass = New ADODB.ConnectionCla ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Using xna with windows forms???
Is it possible to draw with Xna, on my windows form, if so, how because when you have it draw, the normal way, it automatically pops up its' window, also, even if the 1st one is possible, game components are like controls correct Could somebody also point me in the direction of\ tell me how to use them, the basics, otherwise I wouldn't be asking this question, I just started working with Xna. Because 'the whee is round' and a square just wouldn't cut it. It's not the project it has problems with, its just the code itself. Can you use game components almost just like designer-based controls Like, create labels Could you tell me how then, so I can just put up with not using the designer ...Show All
Visual C++ Managed C++ vs. C# - any difference in performance?
Hi Guys! Is Managed C++ faster than C# ~Matt " "Brendan Grant"@discussions.microsoft.com " < "= UTF-8 B QnJlbmRhbiBHcmFudA== ="@discussions.microsoft.com > wrote in message news:b465e9e8-d76c-4cff-a8a2-3c5df1d4a28d@discussions.microsoft.com ... In theory yes... but only in very limited cases. Remember that both Managed C++ and C# get compiled into MSIL... so at the MSIL level all things are equal and just as performent. Differences can arise however when it comes to optimizations at the compiler level... and despite my love for C#, I’ve got to admit that those C++ guys have been at compiler writing for a little longer and can likely optimize ...Show All
SQL Server Access 2000 Upsizing Wizard add-in
Hi, I want to upsize a db from Access to SQL Server. I have a version of Access 2000 that has not got the Upsizing Wizard add-in loaded, and can't find the install disc. Does anyone know if it is downloadable, and if so, from where Thanks Thanks, I finally managed to find the install disk so all is good now. ...Show All
Visual Studio 2008 (Pre-release) Little help with Windows Communication Foundation plz
Hi i have the following code taken from a tutorial. Now i wish to return a string called returnString but it won't compile because the string is being accessed from another class. So how do i return the string Basically i wish my service to access objects from the application hosting the service. Thanks. using System; using System.Collections.Generic; using System.Text; using System.ServiceModel; namespace Messenger { public class ClientService { ServiceHost serviceHost; String returnString = "String I want to return"; public ClientService() { } public void startService() { Uri baseUri = new Uri(" http://localhost:1234/hello "); serviceHost = new ServiceHost(ty ...Show All
Visual Studio I should really know this one......
Hi there, Im making a soap request to a web service that is erroring. I have been asked to send back the SOAP that was sent back to me (ie the error). In the debugger I only see the error message and not the entire SOAP message that was sent back. How do I see the entire SOAP message Cheers, Justin. ...Show All
.NET Development Displaying text as XML on a web browser
How can I change this code to make it display the contents of xmlString on the browser in XML format instead of as ordinary text as now Private Sub Page_Load( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase .Load If ( Not Page.IsPostBack) Then Dim xmlString As String = "<CiscoIPPhoneText><BR>" xmlString += "<Title>Arrests</Title><BR>" xmlString += "<Text>C# XML text</Text><BR>" xmlString += "<SoftKeyItem><BR>" xmlString += "<Name>Next</Name><BR>" xmlString += "<URL& ...Show All
Game Technologies: DirectX, XNA, XACT, etc. DDS : 360, PC
Will DDS files that are created for PC work with the 360 is there not some subtle difference between the two or is this something that will be patched up via the XNA runtimes on the 360 upon asset loading ... I may be entirely off track here, but the texture content you stick into the content pipeline is processed and converted to some special format, converted per pixel at build time. Check out Shawn Hargreaves's blog to see how much processing goes on before the content is stuck into the XNB files. I can't imagine they don't convert to a format suited for both the PC and 360 platform. Post of interest on Shawns blog: http://blogs.msdn.com/shawnhar/archive/2006/11/22/customizing-how-models ...Show All
Visual Studio Integration between Visual SourceSafe 2005 & Microsoft SQL Server 2005
Hi; I would like to know if i can Configure VSS 2005 to work with Microsoft SQL Server 2005 Best regards, Nancy, I think that I misunderstood your original post. You asked if you could use VSS 2005 with SQL Server and I thought that you meant the development of SQL Server applications and Stored Procedures. However, it is clearer to me now that you want to use SQL Server 2005 as the storage mechanism for VSS 2005. The answer to that question is no. VSS cannot be configured to use SQL Server 2005 as a storage backend. VSS has it's own storage mechanism for version tracking. I am sorry but there is no way to configure the VSS fontend to use SQL Server on the backend. Thanks, Karl Hilsmann Visual Studio Develop ...Show All
