Hovisal's Q&A profile
Game Technologies: DirectX, XNA, XACT, etc. 3d max8 Panda exporter
I'm trying to export 3d max8 object with Panda exporter and it say "don't know how to save to that type of file". What can I do You probably want to contact these people: http://www.andytather.co.uk/panda/directxmax.aspx ...Show All
Visual Studio 2008 (Pre-release) VS2005 Release 2005 after migrating from Beta 2 to ReleaseVS 2005 I am getting VSS related Issue
Earlier I have VS 2005 Beta 2.0 its working fine with VSS, but after installing VS2005 Release and migrating my code from beta 2.0 to Release I am start getting VSS related issue. While check out its gives me this error message : "unexpected error encountered. It is recommended that you restart the application as soon as possible." Ritesh - could you please be more specific and tell us what file and line number are mentioned on the error message that you are getting is there something specific that you did to migrate your code to release of VS2005 please let me know. -Grigori ...Show All
SQL Server ASPNET account permissions
I am new to Reporting Services and still learning, but it is a very nice exciting program. I built a new Report and was experimenting with Grouping in reports and using the parameters. Now I would like to Deploy the report to the Report Server so I can use this report on our intranet, however I get the error that the ASPNET account does not have the proper permissions. I am sure that I need to set up ASPNET to have "write" abilities. What folder(s) do I need to make sure that ASPNET has this Or should I be looking elsewhere to set up the ASPNET account on the Report Server Thanks for the information. ...Show All
SQL Server How to create a SQL 2005 Database
I have installed VBX and SQLX and have written a few programs. Now, I want to evaluate SQL 2005. I installed it and... How do I create a SQL 2005 database in VBX Also, in the IDE, I don't see anything labeled "SQLX" in VBX... everything is SQL 2005, but I still think its SQLX and not SQL2005. Very confused... . Thanks. Am I hearing correctly... that VBX cannot work with SQL2005... you must use SQLX Then I had someone tell me there's no difference with VBX and VB2005... The only problem with SQLX is that... should you be adding records to the DB an ...Show All
.NET Development Remoting vs Indigo taking *nix and Mono into account
I'm designing a distributed system (actually redesiging DCOM app). Planning to use Remoting but Indigo is on the horizon so have been taking a look at that. Ideally, I'd like the same code base for Unix/Linux. I understand Remoting should theoretically work on Mono. I've been told Indigo will never be ported to Mono because MS isn't going to license the technology to allow it. If Indigo isn't going to be there, I'll probably stay behind with Remoting. any comments Dave Thanks Doug. Why did you bother typing that reply Ya, I know MS doesn't develop Mono but it has contro ...Show All
Visual C++ How can it be Used a member of CWnd in Static Function?
Hi! what did I wrong! (Debug Assertion Alert again!) I guess it's problem of CClientDC dc(this).isn't it what should I do UINT CMyTest::Thread(LPVOID pParam); //this Function is static. { //code CMyClass* pMyClass=(CMyClass*)pParam; pMyClass->DesignLine(); //code } myClass Like this: "(this class has been built with ClassWizard and base Class is CWnd )" CMyClass : bublic CWnd { . . . public: void DesignLine(); . .//code . . private: . . . .//code }; void CMyClass::DesignLine() { CClientDC dc(this); CDC memDC; CBitmap m_Bitmap; CBitmap* m_OldBitmap; if(memDC.GetSafeHdc()==NULL) { memDC.CreateCom ...Show All
.NET Development How do I check if object locked?
Is there a way to access the list of locked objects kept by System.Threading.Monitor The purpose being, I have a function that I only want called if the sync object in the class is in a locked state. If the sync object is not locked, I want the function to throw an error, but how do I check if the sync object is locked Thanks. use a delegate. . . in the firstline after aquiring the lock, set the delegate to the method you want to call. in the last line before releaseing the lock set the delegate to null. calling the delegate from anywhere in the program will throw an error if the sync object isn' ...Show All
Visual Basic How to convert .doc files into .pdf in VB6?
Hi, I have created a word document using bookmarks and other things in VB. When i want to finish my document, I can only save it in .doc. Are there some libraries to pass to PDF Thanks! There is nothing built into Microsoft Word, but you can use one of the many PDF print drivers available to generate a PDF file: http://www.cutepdf.com/Products/CutePDF/writer.asp ...Show All
.NET Development PInvoke/Interop to access unmanaged code
Hi. I have a c# program which is using an unmanaged 3rd party dll to control a device. I am using the following code to access the dll: _________________________________ [DllImport("3rdPartyInf.dll")] public static extern uint Init([In]int par1, [Out] char[] param2, [Out] uint param3); _________________________________ Now, the problem is that while this is fine for our desktop machines, it throws a DllNotFoundException - Unable to load DLL ("3rdPartyInf.dll") if I try to use a laptop (Dell Latitude D800). It makes no difference whether I try to access the dll from vc++ or from c# - even from vb! All the machines are running XP ...Show All
SQL Server question on AqcuireConnection
Hi, I created a function that supposedly checks a connection manager if a connection can be established. When I was testing the code, I found out that the following code always returns "Successful" for flat files and SMTP connection even if the flat file does not even exist or there are no connection parameters for SMTP. Can you tell me what to use to check if a connection can be established for all types of connection managers Here is the function that I created which does not seem to work as I expected: Public Function connect(ByVal connMgr As Object) As String Dim connected As String Try Dts.Connection ...Show All
SQL Server Consuming Multiple Messages In Parallel from Multiple Windows Services
Hello All, After hitting limitations in the SQL CLR world that bar us from invoking COM objects we are forced to use windows services to read the messages off the Service Broker Queues. Unfortunately we loose the auto activation feature in the Queues, but we can still read messages and perform the SQL work under one transaction. We are going to attempt to take N messages simultaneously from the Queue, though N instances of a windows service. If the messages send to the queue are one message per conversation, will we be able to achieve having N readers take messages off simultaneounsly Thank you very much, Lubomir P.S. if anyone has a bette ...Show All
Visual C# Inserting images (.jpg) into SQL Express
I'm using SQL Express and I have a table that has a column of type image. My question is how do I go about inserting and/or updating an image in a row using C# I'm aware that the image type in SQL is simply a BLOB, but I don't know how to insert an acutal picture (.jpg) using C#. I tried something like this: byte [] photo = GetImage ( @"C:\image.jpg" ); SqlCommand command = new SqlCommand ( "UPDATE character" + "SET picture = @Photo" + "WHERE id = @ID" , charTableAdapter.Connection ); command.Parameters.Add ( "@ID" , SqlDbType .UniqueIdentifier).Value = ...Show All
Visual Studio MSSCCI example
Hi, somebody can help me please I'm developing a Source Control Plugin for Visual Studio 2003. I've written this code, and it doesn't work. Somebody can tell me why dosn't work Or better ... Somebody can pass me a working example This is a lot of important for me!! Thanks for all. This is a part of my implementation. When I start, I perform the following actions. 1. Open a project in VS 2003. 2. Choose the option: File --> Source Control --> Change Code Control ... In this point the IDE calls the SccInitialize Function, then the SccSetOption function, and finally calls SccOpenProject function. After cal ...Show All
Visual C# TreeView doesn't display all nodes
Hi, I have a problem displaying data from a dictionary in a TreeView. Not all Nodes in the treeView.Nodes are displayed. Given the following code: treeView.Nodes.Clear(); treeView.Nodes.Add("foo"); foreach(UInt16 binId in binContents.Keys) { Console.WriteLine("foobar" + binId); // writes "foobar156" and "foobar157" to console treeView.Nodes.Add("foobar" + binId); // adds 2 nodes to treeview that are not being displayed } for (int i = 0; i < 5; i++) { treeView.Nodes.Add("bar" + i); } (binContents is of type D ...Show All
Smart Device Development Bug Report, ReadOnly Property doesn't honor BackColor/ForeColor on TextBox
Problem takes place when textbox readonly property is set to true. When I try to customize the back or fore color it immediately resets them back to default. Example: textBox.ReadOnly = true ; textBox.BackColor = Color.Black; // Text box displays with default colors Yes, please see this: http://groups.google.com/group/microsoft.public.dotnet.framework.compactframework/search group=microsoft.public.dotnet.framework.compactframework&q=backcolor+read+only&qt_g=1 ...Show All
