bk13's Q&A profile
Windows Forms Connection String to .Net 1.1 with Mysql
Hi, I want to do the connection string to .Net 1.1 with Mysql.I have no Experiance in MySql It will be helpfull if get some sample for writting the connection. Thanks, Karthik Use the mysql dot net connector For mysql 5 http://dev.mysql.com/downloads/connector/net/5.0.html For earlier versions http://dev.mysql.com/downloads/connector/net/1.0.html ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Billboards
Hi, I’m trying to convert my particle system to XNA and need to know how to use billboards, in DirectX managed you could do something like: sprite.SetWorldViewLH(…); sprite.Begin(SpriteFlags.Billboard); sprite.Draw2D(…); sprite.End(); and that would draw the sprite in the specified 3D location facing the camera, I know the Matrix.CreateBillboard() Method exist and would like to know how to use it. Thanks. If you are just rendering small particles that always face the camera, then just do this: Declare your VertexType with the VertexElementUsage.PointSize element. Render the points using PrimitiveType.PointList . If you need more contr ...Show All
Visual Studio Tools for Office VSTO DOWNLOAD n INSTALLATION
Where can i get the free download link to VSTO Can anynbody pls tell me how to install/PIA and the installation process to make work with office 2003 and VSTO IT's urgent.. Regards Sunil Have a look at following link Office 2003 Update: Redistributable Primary Interop Assemblies ...Show All
Visual Studio Express Editions Null Reference Exception
For some reason i keep getting this "Null reference exception was unhandled - object reference not set to an instance of an object" Does anyone what this or what is could be causing it. I'm using arrays to store stuff which then makes an instance of a panel. I have 4 of these, they are all identical and use the same panel, but one of them refuses to work and I get this message, I've checked it over and can't seem to see anything different between that 1 and the other 3. ReneeC, everyone is both political and social, however that is not why we are here. There are many forums for discussing those subjects. This is a programming forum and I respect it as such and will not be baited into other discus ...Show All
SQL Server .Net 2003 access Crystal Report XI: Error:Failed to open the connection: [Database Vendor Code: 17 ]
I am receving this error: Failed to open the connection: [Database Vendor Code: 17 ], from .Net 2003/C# to Crystal Report XI with SQL Server 2000 has backend database. Is there a security permission that has been overlooked Here is the code I use to access CR XI ConnectionInfo connectionInfo = new ConnectionInfo(); TableLogOnInfo tableLogOnInfo; Database DB; 'CrystalDecisions.CrystalReports.Engine.Table' table; Tables tables; //Log in connectionInfo.ServerName = "ServerName"; connectionInfo.DatabaseName = "Database Namet"; connectionInfo.UserID = "userid"; connectionInfo.Password = "password"; //Get Table inf from report D ...Show All
Visual Studio Express Editions Splashscreen Question/Problem.
Greetings, I have an application that I have added a splashscreen to, the problem I am unable to solve is that when I run the application at design time (F5) the splashscreen appears and then the Mainform appears and functions as required. However if I build the application and run the program from the desktop (via an icon) the Splashscreen appears and then the MainForm however the XP startup bar appears and the icon (for the application) is flashing which means I have to click the form to commence using it. If I have VBEE open but minimised and select the icon from the desktop the application functions as required. What do I have to do to have my application function as expected Cheers Bakerboy60 ...Show All
Visual Studio How to pass Logger attribute to Msbuild task like passing to Msbuild.exe in commandline
Msbuild.exe takes /logger attribute and Verbosity level but not MSuild Task . Anybody knows how to pass the logger parameter and verbosity level to MSBuild task. Thanks for your reply. In the Msbuild project file I have two tasks. The first task detemines whether build is required or not. Based on the output given by the first task the second task ie MSbuild task will be called. So I cannot pass the logger path while calling the MSBuild.exe from command line. Is there any other way to do this. Please help. ...Show All
SQL Server Failure to create an asymetric key
I am trying to create an asymetric key in order to set up my CLR trigger for external use but it fails. As soon as I get this to work I plan on creating a login from this asymetric key and then grant External Access to the login. But first When I execute the following T-SQL code, I get the subsequent error. Can someone help USE master GO CREATE ASYMMETRIC KEY SQLCLRKey FROM EXECUTABLE FILE = '...\ExceptionLogTrigger.dll' The certificate, asymmetric key, or private key file does not exist or has invalid format. Thanks in advance, Loopsludge Thanks for your reply. Here's what I did to get it to work. I'm not sure if this is correct, so if anyone has any comments, please...I'm all ears. Sign t ...Show All
Game Technologies: DirectX, XNA, XACT, etc. How in XNA Game Studio Express correctly to include a full-screen mode?
How in XNA Game Studio Express correctly to include a full-screen mode I write a code: graphics.PreferredBackBufferWidth = 1024; graphics.PreferredBackBufferHeight = 768; graphics.PreferMultiSampling = false ; graphics.ToggleFullScreen(); Then I draw on the screen 2D the sprite and I move it on the screen. During the moment of moving of the sprite on the screen, he brakes and twitches, such impression that copying of the sprite occurs on without usage Z-buffer. How correctly to customize in project XNA Game Studio Express using class Game1 a full-screen mode In DirectX earlier, it was so: D3DDISPLAYMODE Display; if( FAILED( pd3d9->GetAdapterDisplay ...Show All
Visual Studio Installing Visual Studio 2005 60 day trial
Hey, I am trying to download the 60 day trial of Visual Studio 2005 Professional, but the format of the file download is .img..... I read here: Additional Information This Trial Edition has full retail functionality but will expire after 90 days. An ISO-9660 image file is an exact representation of the original installation media, including the content and the logical format. The most common use of an image file is to write it to a blank DVD-R resulting in an identical copy of the original DVD including file name and volume label information. ISO Images can also be extracted directly to a file location by many DVD-R utilities. ? This trial software is not supported by Customer Services and Support (CSS). If you have questions ...Show All
SQL Server Events keep bubbling up, even with Propagate=False
I've been pulling my hair out for the last couple of weeks trying to make my SSIS package more robust. I'm running SQL 05 SP1 on Windows XP SP2. Right now when there's a failure, the error propagates all the way up and my package stops running. Clearly not very robust. I have a heartbeat portion that makes a connection to the database every couple of minutes. Sometimes it loses the connection in the middle of the night, probably due to some maintenance going on. I have created an event handler to log the error, sleep a couple of minutes and set Propagate=False. This works great. When the connection is down, the error is logged, once the connection comes back, the package just keeps going. I also have an FTP component that receives a file a ...Show All
.NET Development ftp lib
folks..anyone aware of a ftp lib that can download files maintaining the same directory structure.. i found a lot of ftp libs that do a normal download of all the files (meaning the directory listing just lists all the files from all the subdirectories instead of treating them with their own directory structure.) example if the ftp location has the following files -------------------------------------- DirA ( 10 files in it) DirB(5 files in it) FileA FileB -------------------------------------------- the ftp download should download with the same directory and file structure instead of treating all the files in all directories as one tx in advance You may have to pony up for professional package. I w ...Show All
Windows Forms One or more errors encountered while loading the designer
Hi, I was working on a simple Winforms C# project. I created a few of TableAdapters using the designer and attached them to datagridviews on my form. After realizing that i did not want one of the tables I went to the XSD designer and deleted it. After that the project still excutes ok but the form designer is unable to display the form in design view I get the following error: One or more errors encountered while loading the designer. The errors are listed below. Some errors can be fixed by rebuilding your project, while others may require code changes. Clicking on each error will take you to the line of code that caused it. I am not looking for a response to this problem (creating prototype, kicking the ti ...Show All
Windows Forms GridView DeleteCommand Firing Twice
I Have a gridview with a command button for delete defined. On the Datasource for the grid I have a DeleteCommand that runs a stored procedure that takes the ID field defined in grid view control. When the delete command is selected in the gridview the deletecommand stored procedure is called twice with the same ID (I have traced this). I have removed all delete events from the gridview and datasource. I have a FormView that has a selectcommand using the GridViews primary ID. I have autoeventwireup set to true. There is no code being ran before or after deletion. I did have a refresh procedure being ran after delete. When this was active Instead of the same record being deleted twice, the selected record and the record ...Show All
.NET Development Date Formatting question
Hello all. In my application I need to format date so it always has equal length. I use formatting so: DateTime someVar1 = new DateTime( 2006, 1, 1, 9, 0, 0 ); // <- 1/1/06 09.00 am DateTime someVar2 = new DateTime( 2006, 1, 1, 10, 0, 0 ); // <- 1/1/06 10.00 am when I apply ToShortTimeString() I get the following results: someVar1 - 9.00 am someVar2 - 10.00 am I want someVar1 to be "09.00 am" without manual adding "0" at its beginng. Does anybody knows if there's a standart method to do this Thanks in advance All the format for your time, date, currency, number and so on are all set in your regional settings. You can change it from windows, control panel --> regiona ...Show All
