Candela's Q&A profile
SQL Server Visual C++ 2005 (C++/CLI) - Newbie with ADO
Hi, I've been working for about 20 years now with databases on other platforms but am at my first step with ADO. I created an application which is drawing as requested different forms on screen using GDI+, eventually DirectX. Now I'm at the stage of saving several infos into a Database. For simplicity, I would like to use a database for which there is no need to install any other components. I thought of using Access Database but I realized that I'm unable to create it except from Microsoft Access which is not installed on my machine... When programming with Clarion (SoftVelocity), apart interfacing with Oracle, any other files (ex: TopSpeed files) could be designed from within application designer and then created from scratc ...Show All
Audio and Video Development Supported MNG File Editor?
I'm looking for an MNG editor/creator. I've tried one called PNG/MNG Construction Set , but it does not create valid MNG files for the iHD spec. Anyone know of a program that will create valid MNG files Thanks in advance. I have done that, from script though. It works and is virtually the same as what an MNG would achieve. Menus look much better when they are in motion as you are navigating around them. ...Show All
Visual FoxPro Using a dial-up modem to communicate
Hi All, We are developing a systems functions test program which is periodically checking our file servers, ftp servers, databases, etc. and sending e-mails / messages to our Systems Administrator's cell phone if any of them fails. We see that if our e-mail server is down we can't send out warning e-mails. That's why we have a PC with an internal modem which will operate parallel with our test program and communicate with our Administrator if our email server is also down. 1. I appreciate, if I can get any information, sample code or a link to download an API. 2. Is it possible to play a recorded message after the connection is established, If so how We are using VFP 8.0 on W2K Client/Server. Hopefully everything is clear enough. Thank yo ...Show All
Software Development for Windows Vista Publish as WebService Error: "The language specified is not supported by any of the installed packages."
This is with the latest 3.0 RC and the RC5 VS2005 Extensions. Any ideas Thanks Kushal, I did a complete uninstall and reinstall of VS2005 and the publish now worked! I have a different question now. The published web service seems to be defaulting to use the local development web server. Can I change it to use IIS instead Thanks Costas ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Animating Sprites
Maybe not the best place to ask but I found some good sprites that I wan to play around with but they come in like 100 bitmaps for walking animation. What's the best way to handle this, import each bitmap as a texture and do some code to figure out when to show what texture Found this http://www.c-unit.com/tutorials/mdirectx/ t=46 but that's in one texture, how can I do it if I have a lot of bitmaps Rick Hoskinson wrote: Typically it will always be better practice to load "sheets" of sprites as single textures rather than loading dozens of individual textures for single frames of animation. A much more effective way to deal with sprites is to be smart about using the source rectangle ...Show All
SQL Server SQL Server 2005 x64: Intermittent "Error: 18456, Severity: 14, State: 10."
Hi, We are experiencing intermittent authentication errors "Error: 18456, Severity: 14, State: 10" on a customer's production server. This is a new server that has just been rolled out in the past several months. Rebooting the server appears to make the problem go away. We are using SQL authentication from a separate server that is running IIS. The application always uses the same username and password to connect. Server info: select @@version Microsoft SQL Server 2005 - 9.00.2047.00 (X64) Apr 14 2006 01:11:53 Copyright (c) 1988-2005 Microsoft Corporation Standard Edition (64-bit) on Windows NT 5.2 (Build 3790: Service Pack 1) select @@version SP1 Sample error from SQL Server errorlog: Date 7/7/2006 10:53 ...Show All
Visual C# How to write in code when database nullable field is to be condition?
In my program, I set one condition and only when it is true can some thing be done. This condition is a field stored in MSSQL sheet's column, which can be nullable. My question is: in my condition code, what should I write as that condition " if xx == null " or " if xx == "" " or others By the way, it doesn't work when I write as "if xx == null" or "if xx == "" " . xx is of string type. try to compare strings and null like this if ( string .Equals(xx, null ) ) MessageBox.Show("null value"); ...Show All
Visual C# Error message about string
if (comboBox1.SelectedItem.ToString() == "Circle") thats the errenous code this is the error Possible unintended reference comparison; to get a value comparison, cast the left hand side to type 'string I originally had just selected item, so I thought the fix would be .ToString(), but as I found out, apparently not.. well generally the equals is used to compare objects/strings as the operator is really for numeric (but can also be overridden like the equals operator) the == operator is really for value types, the equals() method is used to compare objects take a look at this: http://www.andymcm.com/csharpfaq.htm#6.7 ...Show All
Visual C# DataReader Read Data
private void BindTheCombo() { sqlcon= new SqlConnection(Tools.sqlconstr); sqlcom= new SqlCommand("select CityID,CityName from Cities" ,sqlcon); sqldr=sqlcom.ExecuteReader(); while (sqldr.Read()) { oDDLil.DataTextField=dr(0); //error oDDLil.DataValueField=dr(1); //error } } I bind to data to dropdownlist What I should do Thanks For Help not at all gokce and Sibusiso one question sibusiso how you display your code like that i check This post contains a code sample but nothing changed i really hate the editor of this forum ...Show All
.NET Development Implement "cut", "copy", "paste" menu commands in Windows Form application
Hellow all. Sorry for this simple question, but I nowhere can found the answer. I want to implement "cut", "copy", "paste" menu commands in my basic application. I use VS.NET for development. if we add say a "Cut" menu item. We do this.... VB.NET Dim theControl as Control = Me.ActiveControl 'get the current control that was active if theControl is nothing = false then 'was there a control if so.... if theControl Is TextBox then 'is the control a textbox if so... Dim theTextBoxControl as TextBox = CType(theControl, TextBox) 'create a temp local textbox and convert the current control to a textbox object theText ...Show All
Visual Basic Where can I find A Good Visual Basic 2005(SQL)Invoice Sample with Add/Edit/Delete/Print Command
Where can I find A Good Visual Basic 2005(SQL)Invoice Sample with Add/Edit/Delete/Print Command http://www.murach.com http://www.murach.com/dloads/a2vb/a2vb_allfiles.exe http://www.murach.com/index.htm ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Game Component Design Guidelines?
Anyone have any suggestions, tips, experiences, etc regarding designing and developing Game Components With the move of the GraphicsComponent to a service (which makes sense), one of my questions is remains: what makes a good Game Component In pre beta 1, other Game Components that were hinted at were a Camera and Fps Counter. In beta 2, would these still be Game Components, or be left at system-level Is the choice as simple as whether or not your would-be-component has an Update method that takes a single GameTime parameter Same goes for IDrawable, if a Draw method with a single GameTime parameter is sufficient, should this be a Drawable Game Component Is it a never-ending debate such as the guidelines for designing Interfaces ...Show All
Software Development for Windows Vista Workflow solution consideration
My organization was in the process of selecting a workflow engine in order to automate all our business processes and have gone through various options like Opentext Live Link, Captaris Teamplate to name a few when we bumped into Windows Workflow and found it the most appropriate option out of the lot. So now we have decided to use it as our tool to automate all the business processes, through the development of a in-house asp.net application (which shall include user task-lists, admin module etc.) and were wondering if thats the right approach or should we stick to one of the ready-made workflow solutions Besides we were also looking to find an appropriate book or technical training content to give us a kick start in it ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Is there any way to tell if a sampler has a texture attached in shaders?
Is there any way to tell if a sampler has a texture attached in shaders The default behavior is getting black when no texture attached but I want it to be some other color. That table shows values to expect when you have a texture bound to the device that is of a certain format. If you have no texture bound at all, then what format is going to be chosen from the table above It is true that RefRast's behavior is to revert to pass a black color for unbound textures. But this is not enforced on driver writers. Drivers are supposed to follow the DDK guidelines first. Sometimes a point might not be very clear, so they revert to the SDK docs to see how it's supposed to work out from the application POV. Now for ...Show All
Visual C++ how do I access struct variable from another file?
another newbie question. I am moving functions which use this struct into another file. how do I access sData in another file typedef struct sVData { int i; } sVData; static sVData sData; Thanks again. -Greg Thank you Einaros. Your explanation makes very good sense. I'm looking at the codebase now to see how I can achieve that. I'll ask the current team lead about the issues you raised. The struct currently is static. In and of itself that may be o.k. but I understand your caution about the initialization order. -greg ...Show All
