Software Development Network Logo
  • Visual C#
  • Smart Devicet
  • Windows Vista
  • SharePoint Products
  • VS Team System
  • Audio and Video
  • Game Technologies
  • Visual Studio
  • IE Development
  • Visual C++
  • SQL Server
  • Windows Forms
  • Visual Basic
  • .NET Development
  • Visual FoxPro

Software Development Network >> Romantic_touch's Q&A profile

Romantic_touch

Member List

Kimbe
N8NT
Charley Lou
dork
A.Carter
Debbie M
Korsak
Rabtok
Scott Chang
Kaos
Pascal Mignot
Matt Stum
windypoint
A.Russell
PremZ
Steven R
NorCis
Maxim Michtchenko
M Thomas
Ravikumar KPV
Only Title

Romantic_touch's Q&A profile

  • Game Technologies: DirectX, XNA, XACT, etc. unloading model resources

    Im trying to figure out how to manually unload models/textures/shaders ect. Halp me Intertron! If you are using the .Net version of DirectX (Managed), you should unload resources with their Dispose() method. You can also check out the ResourceManager included in the Utility Toolkit of ManagedDirectX. It does a big part of the work for you. ...Show All

  • Visual C++ Error In MfC App

    Help needed i am stuck with this error while developing MFC based application in vc++ 8. pls help me get out of this mess code: void CmfcaView::OnEnKillfocusname() { char name[15]; GetDlgItemText(IDC_name,name,15); if (strlen(name)==0) { MessageBox("The Employee Code can not be blank. Please enter an Employee Code."); CEdit *code; code=(CEdit*)GetDlgItem(IDC_name); code->SetFocus(); // TODO: Add your control notification handler code here } } Error: Error 1 error C2664: 'int CWnd::GetDlgItemTextW(int,LPTSTR,int) const' : cannot convert parameter 2 from 'char [15]' to 'LPTSTR' Error 2 error C2664: 'CWnd::MessageBoxW' : cannot convert parameter 1 from 'const char [67]' to 'LPCTSTR' thanks sGurpreet wrote: a ...Show All

  • Visual Basic New guy question, how do I do this???

    Ok, so I'm fairly new to programming, especially in .NET and VB. Everything before this was in MATLAB for me since I'm an aerospace engineer. I'm trying to build an sizing program for compressors, and I'm building a unit conversion class to take care of the obvious problem of inputs coming in as different units. I've taken care of the basics, ie: length, force, energy, pressure, volume, etc..., but now I want to do combinations thereof. The way my code works is it takes a ByRef value for either a conversion factor (for the combinations, since temperatures aren't always an absolute scale) which is initially zero or whatever, or a ByRef value for what you're trying to convert, and the input units, and the output units. The units were crea ...Show All

  • Software Development for Windows Vista Trouble with WF HOL Lab 3

    This is regarding Lab 3 of the WF RC Hands On Labs , Hosting the Windows Workflow Foundation Runtime. Even after doing a repair installation, I am missing the SQL scripts for this lab. CreateDatabaseObjects.cmd executes Tracking_Schema.sql, Tracking_Logic.sql, SqlPersistenceService_Schema.sql and SqlPersistenceService_Logic.sql from C:\WINDOWS\Microsoft.NET\Framework\v3.0\Windows Workflow Foundation\SQL\EN\. That path does not exist on my machine. I did a search on those scripts and couldn't find them anywhere on my C: drive. Has anybody else had this problem If so, how did you resolve it Also, if anyone can send those scripts in a zip file to me, I can take it from there (hopefully). Thanks! Camey Combs, WF Newbie The ...Show All

  • Windows Search Technologies Vista Searching easy access

    Currenly there appears to be two options to search using Vista. 1. Start menu and type the search option but that is very limited and slow. 2. Start then Search on the right of the menu, but is there a shortcut as it looks like you can only use a mouse for that. Oh, I just noticed there is see all the results but again it needs a mouse and I use the keyboard as much as possible. I am finding even having a computer on for days that the indexing is just not picking up all the files. Thanks for that. I have moved back to XP as even with 2G Ram and a fast compter Vista still is slow and getting a lot of non response time even though the CPU or memory are not maxed out. I am a tired Beta tester ;-) ...Show All

  • SQL Server commenting hyperlinks in query editor window

    Is there a character or character sequence to annotate hyperlinks in your query windows so that it will conform to valid TSQL code and simply ignore the hyperlink, yet still allow the hyperlink to function in the editor For example... Create Proc dbo.Hyperlink as begin --below link is the sql server homepage for MSFT http://www.microsoft.com/sql --commenting it out disables the link in the editor end Hi, why I suppose that you will always use a hyperlink in a string representation, so you normally quote it, would be interesting to know why you want to "esc ape" this. HTH, Jens Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All

  • SQL Server SQL 2005 backup to a different server

    I have a SQL 2005 database server. I need to create a database maintenance plan that backs up to a different server. Currently, I can see the C and D drives on my database server, but not any other drives - even the ones I am mapped to. In SQL 2000, I use to enter/type in the mapping, but when I enter the mapping in my database maintenance plan, the database backups are not working. I am not getting any error message. When I execute the maintenance plan, it just checks off the steps and ends with success. It only takes about a couple of seconds for the plan to finish with the success notice. I have added sqlserviceacct to my other server's administrators group, and it has full permissions on the other server also. How would ...Show All

  • Visual C# obtain windows username information

    hi is it possible to obtain the windows logged on user information (username, name,...) programmatically System.Security.Principal. WindowsIdentity winId =      System.Security.Principal. WindowsIdentity .GetCurrent(); ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Scaling my Skybox

    Hi guys i hope you can help me with my simple problem. I use the following code to draw my skybox: public void Draw() { Matrix[] transforms = new Matrix[myMesh.Bones.Count]; myMesh.CopyAbsoluteBoneTransformsTo(transforms); foreach (ModelMesh mesh in myMesh.Meshes) { foreach (BasicEffect effect in mesh.Effects) { effect.EnableDefaultLighting(); effect.View = View; effect.Projection = Projection; effect.World = mesh.ParentBone.Transform * Matrix.CreateTranslation(Position); } mesh.Draw(); } } Whats my problem My problem is that my skybox is too small. So how can I scale my skybox or in common how c ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Cannot load texture, even though the file is there.

    I've been having issues with the content.load method. Each time I try to load a file, I get a ContentLoadException. It simply states that the file cannot be found. Even though I have checked the debug files and it is present. Code: protected override void LoadGraphicsContent( bool loadAllContent) { if (loadAllContent) { // TODO: Load any ResourceManagementMode.Automatic content } // TODO: Load any ResourceManagementMode.Manual content content.Load< Texture >( "karma-clench.xnb" ); } Now, I was also wondering if I load the .dds file or the .xnb file. Without knowing more about your directory structure, you should only use the Asset Nam ...Show All

  • SQL Server Sql Profiler for express

    Sql Profiler is not provided with SQL Server 2005 Express or its management tools. Does anyone know of a similar tool/method I could use. NOTE: I don't have access to the full SQL Management studio so this option is out too. The main reason I want to use it for is to see how long stored procedures and queries are taking across several applications I am running and developing (preferably also including other stats like reads etc). I would like to do this at database level rather than applicaiton level. Thanks, Andrew rlcoach wrote: Thought I was doing great until....... I found that the developer edition of sql server 2005 was so cheap :-o You're right. F ...Show All

  • SQL Server Restoring Analysis Service database from a backup media.

    Hi all, I am trying to restore my database from a backup media using SSMS, but i get the following error. TITLE: Microsoft SQL Server Management Studio ------------------------------ An exception occurred while executing a Transact-SQL statement or batch. (Microsoft.SqlServer.ConnectionInfo) ------------------------------ ADDITIONAL INFORMATION: The media family on device 'C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Backup\Analysis_Trial.bak' is incorrectly formed. SQL Server cannot process this media family. RESTORE HEADERONLY is terminating abnormally. (Microsoft SQL Server, Error: 3241) For help, click: http://go.microsoft.com/fwlink ProdName=Microsoft+SQL+Server&ProdVer=09.00.1399&EvtSrc=MSSQLServ ...Show All

  • SQL Server global execution

    hey there Reporting services - page footer I have got this off the ssw.com.au Execution Time ="Execution Time: " + IIf(System.DateTime.Now.Subtract(Globals!ExecutionTime).TotalSeconds < 1, "0 seconds", ( IIf(System.DateTime.Now.Subtract(Globals!ExecutionTime).Hours > 0, System.DateTime.Now.Subtract(Globals!ExecutionTime).Hours & " hour(s), ", "") + IIf(System.DateTime.Now.Subtract(Globals!ExecutionTime).Minutes > 0, System.DateTime.Now.Subtract(Globals!ExecutionTime).Minutes & " minute(s), ", "") + IIf(System.DateTime.Now.Subtract(Globals!ExecutionTime).Seconds > 0, System.DateTime.Now.Subtract(Globals!ExecutionTime).Seconds & &qu ...Show All

  • Visual Studio Tools for Office LocalFileSettingsProvider with VSTO

    Hello, I want to know if it's safe to use the LocalFileSettingsProvider with VSTO. At the Client Settings FAQ ( http://blogs.msdn.com/rprabhu/articles/433979.aspx ) rprabhu says, that it is not supported, but i found out that it's not explicitly blocked. It seems to work. Does anybody know about a problem with the LocalFileSettingsProvider and VSTO The only 'problem' I know is, that the user.config file isn't saved at .../AssemblyCompany/.../AssemblyVersion/... but at .../Microsoft_Corporation/.../11.0.6565/... Thanks for your help Tony ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. How to let the Game1's mdiparent is a form?

    How to let the Game1's mdiparent is a form because i want to create some Tool,like model view.need some windows button,label,and other Do you mean you want your Game class to render to a child form You might want to read this thread . ...Show All

©2008 Software Development Network