Yorker's Q&A profile
Visual Studio Express Editions Cannot register filter with win98se
I have built a capture filter with VS Express on a pc with xp pro, where it registers ok thru regsvr32.exe. But if I try to register it on another pc with win98se it fails to register. It happens with both the debug version and the retail version. Any comment or advice please Regards, pcd. Native C++ code I'd guess. Yes, you need to install the C++ runtime library DLLs . ...Show All
Game Technologies: DirectX, XNA, XACT, etc. making easy multiplayer game
hi, I would like to create as feature a mulitplayer game and I was wondering how. I have the latest directx, directx SDK, C#, all frameworks,... and a server anybody can help me to good tutorial and tell if I need to use directx SDK for this Fata1Attack wrote: I looked the web already but can't find any decent tutorial, can somebody help me I would like ot have a tutorial that learns me to handle it with a webserver, thank you! If you're looking for a start-to-finish guide on "how to code a game", I'm sorry but you're probably not going to find one anywhere. Coding any complete application is a serious piece of work, and games are perhaps the most involved (as they ...Show All
Windows Forms How do I Find The Product Code?
This is driving me crazy and it must be simple. I am trying to find the product code so I can author manifests for installing MSDE. How do I find product codes for things I want to install I must be missing something easy. Do we just make them up For example here is the product code for SqlExpress ProductCode="Microsoft.Sql.Server.Express.1.0" You just make it up! It needs to be a unique identifier, so that each bootstrapper manifest has a unique ProductCode. This is the Unique ID we use to select, load, build, etc... bootstrapper packages. As you can tell, we've got a bit of a "best practice" product code: Manufacturer.ProductName.Version ...Show All
Visual C++ Hiding component in an assembly
How can I hide a component in an assembly so that when I add my assembly to the Visual Studio's Toolbox, the component is not added to the Toolbox Try using the [ToolboxItem(false)] attribute on the base class, [ToolboxItem(true)] attribute on the derived class. It worked in VB, didn't try it in C++ ...Show All
.NET Development Shutting down network computers?
I suspect that I once again have someone leeching of my Wireless router again and I can't connect and lock it for some reason. So I thought perhaps I could shutdown the computer who is leeching off my network As a lesson :P There are probably a lot of software out there that could do this but it would be nice to learn how I could create such software. The router is broken so I can't connect to it, shuts down the whole network and requires an restart to fix. How can I get his computers name ...Show All
SQL Server Able to run packages outside Designer, but not one containing FTP task
Hi. I have read most of the threads on not being able to run packages outside the Designer, in Agent. I believe my problem is different: I am able to run some packages with Agent. In fact, we have a couple scheduled and running every night. However, when we try to run a package that contains an FTP task it only runs in debug mode. If we import it into our server or run it without debugging it keeps failing and giving us the now famous: The task...... cannot run on this edition of Integration Services. It requires a higher level edition. So, we have some packages already scheduled and running, but we can't run this specific package with the FTP task. We (two of us) have created this package in the same way we created the other o ...Show All
SQL Server Is this possible?
Hi guys, Is there any mechanism or tool to convert T-SQL query to its corresponding MDX query Please let me know. Sincerely, Amde Hi, The thing is I have a T-SQL query which works perfectly in a relational database. And I want to implement the same functionality in my Cube. So I am curious to know if I could achieve this thing. Sincerely, Amde ...Show All
Visual Studio 2008 (Pre-release) Custom transport - protocol transport
Hi, I'm trying to understand the building blocks that go into a custom transport. For my specific scenario I need to build a custom TCP transport to support different message framing scenarios. However, I was wondering where one would implement high level protocol logic. For example, let's say you have simple text messages like: LOGON| REQUESTSOMETHING| HEARTBEAT| etc. Now, for example the client sends REQUESTSOMETHING| before a LOGON| thus you need to reject the message and every x seconds you want to send a HEARTBEAT| .. etc... where would this session logic be implemented Thanks, Tom Tom In your example, I assume that the protocol messages are not related to the custom TCP framing channel In that ...Show All
SQL Server Output and Error Output write the same table at the same time, stall the process.
Hi I have Lookup task to determine if source data should be updated to or insert to the customer table. After Lookup task, the Error Output pipeline will redirect to insert new data to the table and the Output pipeline will update customer table. But these two tasks will be processing at the same time which causes stall on the process. Never end..... The job is similiart to what Slow Changing Dimention does but it won't update the table at the same time. What can I do to avoid such situation Thanks in advance, JD JD Li wrote: Jamie Thomson wrote: You need to do the update and insert serially - meaning in 2 different data-flows. Push the data for the update int ...Show All
SharePoint Products and Technologies The concept of approval workflow
I just want to know how to do it right. The customer wants to get a docflow with purchase orders. Some managers might approve the order and could edit some fields in the form. Any files (scans, docs) could be attached to the form. After all the filled/approved form have to be saved in a document library. I'm not familiar with a workflow, so I think there are two ways to realize that: 1. Create a form library with a infopath template and start a workflow when a new document created. But how to get access to some fields of infopath document to modify them and how to protect some fields from editing by some managers 2. Create a workflow with variables and custom forms on each step. But how to create a filled form and any ...Show All
Visual Studio Express Editions USB port
Hey guys, I've been searching for a while now about how can i connect to the USB port using C# but i found nothing so if any one here knows how can i do it can he share it with us. Hi, SamuraiJack This thread is on the topic: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=588602&SiteID=1 Thank you ...Show All
Windows Forms Send current page by email through script
Hi I need to create a link in the web page that will open the default email client. I should be able to set the current page as an attachment and set the email to address. I can use mailto protocol but it is not possible to attach the current we page. Appreaciate your assistance in this. MHA using System.Web.Mail; MailMessage myEmail = new MailMessage(); myEmail.From = someone@somemail.com myEmail.To = someone@somemail.com myEmail.Subject = title myEmail.Body = comtent myEmail.BodyFormat = (MailFormat.Text or MailFormat.Html) myEmail.Attachments.Add(new System.Web.Mail.MailAttachment( string path )); SmtpMail.SmtpServer = smtpserver SmtpMail.Send(myEmail); en , if you want some script help you can see ASP.net f ...Show All
Visual C# Arraylist
Would you add a list of information like.. ArrayList arrl = new ArrayList(); arrl.Add(1); arrl.Add(2); arrl.Add(3); for( int x = 0; x < arrl.Count; x++ ) { Console.WriteLine( arrl[x] ); } or like System.Collections.Generic.List<string> list = new List<string>(); string input; while ((input = Console.ReadLine()).Length > 0) { list.Add(input); } string[] array = list.ToArray(); it could be strings or integras... also what is the actual difference.. someone has explained it to me before.. but I'm still abit confused. The second version uses the "generic" feature of C# 2.0, which lets you specify the type of object the List will hold when you create the List instance. As the poster above sai ...Show All
Software Development for Windows Vista SqlTrackingService.IsTransactional
Hello, when I set SqlTrackingService.IsTransactional = false, Activity.TrackData() takes effect just in time when it is called - it is ok. But when I set SqlTrackingService.IsTransactional = true, then all calls to Activity.TrackData() takes effect only in time when WF is persisted. (I suppose that behaviour of other track events is the same) It seems to me quite strange. In addiction, there is no TransactionScope in my WF. What is the reason for this behaviour Thank you for assistance. Hi Cerny- Take a look at the documentation here and see if it makes sense. When you set the IsTransactional property, tracking data is added to the work batch which gets flushed when there is a persistence point in the ...Show All
Windows Forms Force a form to redraw
Hi all, When opening my application it needs to load quite a lot of images. I would like to show a progress form so I made a second form containing a progressbar and a label. When an image is loaded I update the label and the progressbar and then call Refresh() of the progress form, otherwise the label does not update correctly. This works fine, but when the progressform is moved, or another application is shown over the progressform (because it is maximized) and then minimized, the progressform does not update anymore. How can I solve this kind regards, Jef HI first off, are you doing this in an asynchroneous way (you probably should be) otherwise the gui will block will it's loadin ...Show All
