Hoodwinked's Q&A profile
Game Technologies: DirectX, XNA, XACT, etc. HowTo: Simple way to get your .x model to work with clicking on a 3D object
Use the below code in conjunction with the bounding box content processor located here: http://andyq.no-ip.com/blog/ p=16 The code has been commented carefully so you should find any answers you need by following the code and comments. Scott ********************************************************************** #region Using Statements using System; using System . Collections . Generic; using Microsoft . Xna . Framework; using Microsoft . Xna . Framework . Audio; using Microsoft . Xna . Framework . Content; using Microsoft . Xna . Framework . Graphics; using Microsoft . Xna . Framework . Input; using Microsoft . Xna . Framework . Storage; using Microsoft . DirectX . Di ...Show All
Software Development for Windows Vista Merge XPS documents
Basicly I want to merge 1-n xps-documents into a new package, either just add all source-documents or just add all the pages of the source-documents into the new package... I've tried out with following code, which writes all the source-documents-pages into a new xps-document, however this is very very slow!!! public void CreateXPSStreamPages(string targetDocument, List<string> list) { Package container = Package.Open(targetDocument, FileMode.Create); XpsDocument xpsDoc = new XpsDocument(container); XpsDocumentWriter writer = XpsDocument.CreateXpsDocumentWriter(xpsDoc); SerializerWriterCollator vxpsd = writer.CreateVisualsCollator(); vxpsd.BeginBatchWrite(); foreach (string sourceDocument in list) { Add ...Show All
Microsoft ISV Community Center Forums MS Office document and image writer print driver
Besides removing this feature from Office during setup, is there a process to remove this virtual printer from 300 users with roaming profiles on an active directory network We are having an issue with this printer assuming the "default printer" selection for our users. As a work around we have changed their default printer, but after they reboot or log off / on it has defaulted back to the MS Ofc doc and image writer printer. I am having a similar problem... I am missing the Microsoft Document Image Wrinter Port: But I have the driver. Anyone know how to re-install the port Thanks! Jeremy ...Show All
.NET Development Designer toolbar
hello guys I have this silly question, Im trying to create a new web application(2003), and I cant find the "Web Forms" nor "Html" tabs in my toolbar, i tried show all tabs but still I cant find them, is there any way that i can get them back without having to add each control one by one Thank you Hi, You can reset your toolbar by doing the following: right click in the Toolbox and select "Add/Remove items..." click the Reset button (at the bottom next to OK, Cancel) This should do the trick. Greetz, Geert Geert Verhoeven Consultant @ Ausy Belgium My Personal Blog ...Show All
Connected Services Framework Profile Manager and RDF Vocabulary
Hello Could you please provide me with sample code of using RDF Vocabulary in ProfileManager Or maybe such sample(s) is(are) available somewhere in Internet Thank you very much. Hi Igor, Please find the following links which gives you about RDF vocabulary with the sample code. http://www.w3.org/TR/2004/REC-rdf-schema-20040210/ http://msdn2.microsoft.com/en-us/library/aa303446.aspx Hope the information provided in these links will helps you in defining your RDF schemas. Regards, ...Show All
.NET Development File Operations in VB 6.0
I am a C programmer, and do not have too much of experience with VB, so sorry if the question does look too "newby" - as I am a newby when it comes to VB. I am trying to read CSV file. For that purpose I was trying to use code from help site, but was getting a lot of errors. Variable My is empty - how do I initialize it "System" is not recognized. If I try to use "Imports System" I am getting an error as well. Can Microsoft.VisualBasic.FileIO.TextFieldParser be used in VB 6.0 or should I use something else I would really appreciate any help and just to show me a direction in which I should go searching for my solution. Thanks. My.Computer.FileSystem.GetFileInfo() Dim setupFile As System.IO.FileInf ...Show All
Windows Forms Form Loaded Event
Hi, Is there an event that is called when a form and all of its controls etc have been loaded. I need to make a SQL queery to the database and would like to do this as soon as the form and all it's controls have been loaded. I have a MDI from that contains a split container which contains a panel containing various controls, if I place the SQL query to the database in the form load event it effects the speed at which the form controls load. Although this time is very small and does not really cause an issue, I would like to remove it, and only call the SQL query when the form and all controls have loaded. I have tested many of the form events but fail to find one that will do t ...Show All
SQL Server The call to WinSock originated from dbnetlib!ConnectionRead+3b6
Hi, I have Problem of asp.net 1.1(win2003SerSP1) Hanging And Crushing Dail More than 5 times, Ok when i use debugdiag to trace errors i recieve those two errors. so it cames every debugdiag i generate. The following threads in w3wp.exe__DefaultAppPool__PID__4684__Date__09_12_2006__Time_09_08_02AM__173__IIS Hang Dump.dmp are waiting on data to be returned from another server via WinSock. The call to WinSock originated from dbnetlib!ConnectionRead+3b6 ( 2 ) 33.33% of threads blocked when i go thread 2 it gives me this message Thread 2 - System ID 5448 Entry point mscorsvr!ThreadpoolMgr::intermediateThreadProc Create time 9/12/2006 9:02:39 AM Time spent in user mode 0 Days 0:0:0.328 ...Show All
Visual Studio Express Editions What the difference between VB 2005 express and VB 2005 Pro?
I mean only the defference between the visual basic. Best Regards, Yaniv There is no difference with the actual language, just some capabilities. For example, you can not create webservices with VB express, but you can with Pro. Here's a URL that may help: http://msdn2.microsoft.com/en-us/library/b4z62wxz(VS.80).aspx ...Show All
Visual Studio Launching sandcastledocs.com wiki site
Molly Bostic, program manager, MSDN Wiki and a member of my team helped me last night to setup Sandcastledocs.com sharepoint wiki website. Thanks Molly J It’s available at http://www.sandcastledocs.com with links to Sandcastle download, blogs, forums ..etc. The wiki editing is only availabe for Microsoft employees at this time. Please let me know what additional information you would like to see at this site. Cheers. Anand.. Thanks Eric. They are fixed now. Anand.. ...Show All
.NET Development Reading data from browser
HI Folks, I am trying to read data from browser which is in this format, even in source i can see only the text string below. But i am getting error. can any one help me to read the data and write in text file. C|21.5|48.3|-999.9|-999.9|-999.9|-999.9|21.4|49.3|-999.9|-999.9|-999.9|-999.9 This is my code sample. 'Create the HttpWebRequest object Dim req As HttpWebRequest = WebRequest.Create("http://jaws/") Try 'Get the data as an HttpWebResponse object Dim resp As HttpWebResponse = req.GetResponse() 'Convert the data into a string (assumes that you are requesting text) Dim sr As New StreamReader(resp.GetResponseStream()) Dim results As String = sr.Re ...Show All
Windows Forms Re For Ken Tucker
A normal combobox has databindings so that data for DisplayMember, ValueMember and SelectedValue can be taken from several tables. Does this ability exist for DGV comboboxes I don't see any DataBinding collections. The default datagridview combobox does not have these properties. You can always create a new combobox column which supports these properties. You will see some samples in the datagridview faq and the whitepapers shown in the forums. ...Show All
Windows Forms Where to store your database in a new project
I am getting started with VC#2005e and I'm trying to use an access database & open datasets programmatically. What is the correct place to store my database so that the app is ready for Clickonce distribution Should it be stored in MyAppFolder/bin/debug If so, how do I code the path for the connectionstring Should it be Application.StartupPath + "\myDb.mdb" Thanks ! Readers, store your access database in your bin\Debug folder and connect using Application .StartupPath + @"\myDb.mdb" ...Show All
Visual C# Force Application Shutdown
I want to be able to shutdown my application from within the MyApplication_Startup method (if they are not running a legal copy) BEFORE the main form shows but I cant seem to force it to do so. Any ideas ...Show All
.NET Development How do i use the Typed dataset i created?
i created a new Typed dataset by these steps : 1. Added new item (XMLSchema) called XMlSchema1. 2. dragged a table to the xsd screen which created a dataset automatically. 3. called the dataset "ProductsDataSet" but how do i use it in the book i read i just write : ProductsDataSet pDataSet = new ProductsDataSet(); (SqlDataAdapter)sqlDAdapter).Fill(pDataSet.Products); but the compiler tells me that he can't find any 'ProductsDataSet', why Why can't he find it (the XmlSchema1.xsd is in the same namespace as the code i wrote). (In the book it is written to check the "GenerateDataSet" , i don't have that kind of property. rodniko wrote: i created a new Typed dataset by these st ...Show All
