aleksandar uzelac's Q&A profile
Game Technologies: DirectX, XNA, XACT, etc. Creating Mesh from my own
Hello again. In order to have a "clean" code, I'd like to work only with Meshes. I have some x files, but other objects I like to build myself using vertices and index buffer Is there anything to know about this Thanks, Steve There are a colossal number of modeling tools that you can find that will do the trick. There are high end tools like Alias' Maya, a "medium end" tool like Caligari's trueSpace or gameSpace, or something free like Blender (just do some searching using your favorite search engine). ...Show All
Windows Forms Checkedlistbox
Im looking for some assistance...what im trying to do is check to see what items are checked and say if item 1 and 3 are checked do this but if 2 and 4 are checked do this...I've tried a bunch of code but nothing seems to work..im doing this all in VB Private Sub btn_ok_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btn_ok.Click Dim itemChecked As Object For Each itemChecked In chklb_syscus.CheckedItems If itemChecked = "ITEM1" And itemChecked = "ITEM2" Then MessageBox.Show( "ITEM 1 and ITEM 2 Was checked" ) End If Next End sub Easy, just check whether all three item ...Show All
Smart Device Development convert sdf to xls
How convert my sdf file on xls table Or how could read my sdf file on windows xp Thanks in order to convert SDF to XLS , u can used Push method from SQL CE to push the data from SQLCE -> SQL Server Dim rdaObj As New SqlCeRemoteDataAccess rdaObj.InternetUrl = "http://NB-039/Customer/sscesa20.dll" rdaObj.LocalConnectionString = "Provider=Microsoft.SQLSERVER.OLEDB.CE.2.0;Data Source=\My Documents\CustomerDB.sdf" rdaObj.Push("Customer", "Provider=sqloledb; Data Source=(local);Initial Catalog=Northwind;User Id=sa;Password=", RdaBatchOption.BatchingOn) rdaObj = Nothing Then using ADO.NET technology , u can used ...Show All
Visual C++ Dynamically loading Native DLL in managed C++
I am experiencing the following issue: I want to dynamically load Native Message Defenition Library in managed C++. I am trying to load a Native Library developed in VC++ 6.0 using LoadLibrary() API. I need to get the Handle from the LoadLibrary API.When I call this LoadLibrary() API, I am gettin an exception "Can not return Marshal value". I want to pass this Handle as the second argument(ie.lpSource) in the FormatMessage(). Here i have shown the way i have done the defenition to load Native Message Defenition Library in managed C++. [DllImport("Kernel32.dll" )] extern "C" IntPtr* LoadLibrar ...Show All
SQL Server The SQL Server service failed to start
Hi, I'm trying to install SQL Server2005 Express but get the following error: The SQL Server service failed to start Attempts to start the service manually have failed. Pse advice. Thanks, tonyKM ####################################################### Error Signature: ####################################################### EventType: sql90setup P1 : do_sqlscript P2 : 0x733f P3: sqls__service__start P4 : 0x42b P5 : sqlsetuplib_service.cpp@301 P6 : sqlca.dll@2005.90.1399.0 P7 : sqlrun_sql.msi@9.00.1399.06 ####################################################### LOG File ################# ...Show All
SQL Server How do you process AS objects from the command-line?
Hello, Quick question. How do you process AS objects from the command-line. I've read this: http://msdn2.microsoft.com/en-us/library/ms186673.aspx and asusme I need to issue such an XMLA command but I don't which command-line tool enables me to do it. Natural assumption is that its SQLCMD (seeing as you can do this from SSMS) but I thought I'd better check. Thanks -Jamie Hi Jamie, Here's one interesting way I found, using cscript to point to the web service. cscript //nologo xmla.wsf /url:"http://localhost/olap/msmdpump.dll" /c:"Adventure Works DW" /d:measures /r:"catalog=Adventure Wor ...Show All
Windows Forms Instant messenger
Hello everyone I was wondering if it was possible to create a MSN-type instant messenger with .NET and if it is, what tools would I need to create one along side .NET Are there any resources out there on this topic that gives step by step guide on development Any feedback or ideas are welcomed. Thank you. tone http://whidbey.msd ...Show All
SQL Server varible passing
Hi: When i try to execute the following stmt using sqlcmd, it is giving me error. c:\>sqlcmd -i "c:\sql\config\DDLLogging.sql" -v LogDir='c:\sctclogs\' the error is Sqlcmd: ':\sctclogs\'': Invalid argument. Enter '- ' for help. but when i pass just -v LogDir='c\sctclogs\' it work fine. The problem is with ":" when i put colon it throws error. Any help to execute the above command would great. Thanking you, Best regards, Kumar If you have a question, please choose an appropriate forum, and ask it there. Don't spam the whole site. Please LMK which forum you ...Show All
.NET Development SQL and AD
I have a project that I am working on that requires me to dynamically create the connection string to a SQL Server database. All of our SQL Servers are published within Active Directory. Within SQL Server there is a tab that allows you to add the instance of SQL to Active Directory. This can also be done for a database after SQL has been added to AD (the options tab at the bottom). With the database and the SQL instance published in AD I should be able to query AD to find the location of the database, i.e., What server is database X on , I have looked through System.DirectoryServices and have been able to find how to do this. ...Show All
Visual C++ DrawThemeIcon
I'm trying to use DrawThemeIcon to render a disabled bitmap on an owner draw button using XP themes. The API doc implies that I can use the state PBS_DISABLED to apply the disabled effect to the bitmap. This does not appear to work. Is this a valid assumption. If not, what is the recommended way to accomplish this BaradaNikto wrote: I'm trying to use DrawThemeIcon to render a disabled bitmap on an owner draw button using XP themes. The API doc implies that I can use the state PBS_DISABLED to apply the disabled effect to the bitmap. This does not appear to work. Is this a valid assumption. If not, wh ...Show All
Windows Forms Assembly redirection during application launch using Reflection
I am trying to launch a windows application App1.exe (based on .Net 1.1) using reflection from another windows application. App1.exe has an associated .exe.config in which I put assembly redirection for few assemblies. The assembly redirection is working fine when App1 is launched individually. But when launched using reflection, it is not working. It still expects the original version of assemblies. Is there a way to make it work Thanks. I found a way. I just copied my other assembly's .exe.config file in my host application's directory. It just worked! Thanks. ...Show All
Visual C++ Interoperability of different compiler versions
I'm developing a DLL that will be used by a customer using Visual Studio 6, and it will in turn connect to vendor DLL's developed with the same tools. How interoperable are DLL's developed by the latest MS toolchain with binaries produced by the older tools For example, has the C++ ABI changed Can I safely expose a C++ interface in my headers or do I need to drop down to a C-based public interface If C++ is ok, what idioms should I avoid in public headers that the older compiler won't like My DLL will expressly avoid implementing a GUI, and I'm avoiding the use of proprietary class frameworks, so (for example) I don't need to worry about m ...Show All
.NET Development Problem with WebRequestMethods.Ftp.UploadFile;
I am very new to .NET and I'm trying to create an FTP tool. I found the following code on the Microsoft site. For some reason I'm getting the following error when I try and compile the code: "The type or namespace name 'WebRequestMethods' could not be found (are you missing a using directive or an assembly reference )" It doesn't like the line: request.Method = WebRequestMethods.Ftp.UploadFile; From what I understand the using directive " using System; " should be sufficent; Any feedback on this problem would be greatly appreciated. using System; using System.IO; using System.Net; using System.Text; namespace Examples. ...Show All
Windows Forms Form Designer Gone Wild
Every now and again, when working with the Form designer, when I build my project, it goes crazy and totally screws up my layout! Sometimes it removes controls and very often, it totally wipes out my InitControl() method. I'm using VS 2003. Has anyone else run into this problem Is this a known bug I've been working on a form-based project for only a few weeks and thi shas happened on 3 forms (2 new, 1 existing). TIA for any help or advice. Rich It looks like the Product Feedback center is not taking bugs for VS 2003. lol I'm not sure how to post a screenshot here. ...Show All
Visual C# where is properties.settings data getting stored?
Hello, I developed a simple application that saves the usernames using application settings (Properties.settings.name) . So, Whenever I load the form it is able to get all the usernames/server names that have been used earlier. Where exactly is this username/server name getting stored, if I am using application settings to save it. I would like to know it as I would like to manually delete certain entries, if necessary. The application.exe.config contains only the initial values that I have specified for the user/server name at the design time. It won't contain all the user names we used at runtime but somehow it is getting stored somewh ...Show All
