Kamen's Q&A profile
Smart Device Development Problem related showing icons on the devices
hi all, I m creating an appln in which i want the list of the icons and appropriate name for tht in the list box, i did it by using listview. but the prob is i want to load the SVG images (Scalable Vector Graphics) Tiny. Flow is like this, SVG images need to be stored in the database and i have to fetch it and attach it in the list. My Question is HOW to use SVG images Does .Net supports it i found frm many research that it possible but i m not getting the way how to implement it. Whenever i try to load SVG image it like device not support it. How to proceed I need help.thanx in advance. Hi .NET does not support SVG out of the box. What you would do is searching a SVG Viewer component that can be ...Show All
Visual Studio Error install GAX
I received the following error from the msiInstaller when installing GAX: Event ID: 11001 and in Source: MsiInstaller Product: Guidance Automation Extensions -- Error 1001. Method not found: 'Int32 Microsoft.VisualStudio.Shell.Interop.IVsSolutionEvents4.OnQueryChangeProjectParent(Microsoft.VisualStudio.Shell.Interop.IVsHierarchy, Microsoft.VisualStudio.Shell.Interop.IVsHierarchy, Int32 ByRef)'.; (NULL); (NULL); (NULL). As someone any ideas about the origin of this problem I deinstalled a previous version of GAX, check the registry settings, checked with Windows Install Clean Up,... After searching and searching I found the solution of the problem: http://forums.microsoft.com/msdn/showpost ...Show All
SQL Server Current month minus current day
Beginners question: I am using a calendar table joined to my data table so that it will give me all the dates regardless wether there is data for that day or not. Now, I want it to give me all the data from the current month minus the current day. Right now I am using (MONTH(c.dt) = MONTH(GETDATE())) AND (YEAR(c.dt) = YEAR(GETDATE())) but that also gives me data for the current day which I do not want. Any way I can make this happen Thanks Thank you Chris. That will indeed not give me the current day but it also does not show me the current day with a null value. I still need to see the current day just not with any data in it. I dont even know if it's possible. ...Show All
Visual C++ infinite looooooop?????????
hi i have this infinite loop int array[5]; for (i=0;i<15;i++) { array[ i ] = 0; // here i becomes ZERO when i = 5 } i am not understanding why this is infinite loop.. "i" is incrementing till 5 then suddenly it becomes 0.. and i mean i never goes beyond 5. so the infinite.. . can any one tell me why "i" becoming 0.. after 5 in the loop.. manish imanish11111 wrote: . can any one tell me why "i" becoming 0.. after 5 in the loop.. Because your program has a serious logic error that leads to stack corruption... ...Show All
Smart Device Development Serial Port DataReceived Event in .Net 2.0
Hi there, This is driving me crazy, I cannot seem to get the DataRecieved event to work on the Pocket PC using the new serial port class in Visual Studio 2005 with C#. The DataRecieved event just never seems to be called. I can write data to the port just fine. Here is some very simple sample code that reproduces the error:. using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; using System.IO.Ports; namespace SerialTest { public partial class Form1 : Form { // Setup the port private SerialPort port = new Se ...Show All
Visual Studio Multiple tables in the same database causing problems
So I have 3 tables inside one access database that im trying to create a report off of. My problem is that when I have fields from more than one table in the report, the report will not pull any data from either table. Its almost like its confused on how to access the data. None of the data is related in the tables. What i am doing is taking some Medicare EOB (Explanation of Benefits) reports that we recive elctronically to a specialized peice of software. Then we are exporting from that software to a csv file. when we do this for one report it creates 3 seperate csv files that are 3 different section of the EPB medicare report. I wort a vb.net program to import these csv files into the database so ...Show All
Visual Studio Express Editions Receiving Serial Data
Hi, I am very new to this, I design electronics and for the first time I need to create an application myself which can comminucate with my hardware. After a few hours I managed to place buttons and get the app to send data bytes to my hardware which is great but now I need to recieve data and place it in to a box on my app. Please can someone paste some code so I can see how this is done Many thanks.... This is the code I am using to send the data with the button..... Private Sub Button11_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button11.Click ' Send strings to a serial port. Using com1 As IO.Ports.SerialPort = _ My .Computer.Ports.OpenSerialPort( ...Show All
Visual Studio Express Editions Default project templates vanished
Hello, after installing the XNA Framework, the standard project templates for Visual C# 2005, like Console Application, Class Library etc. vanished from the list to choose from, when i try to create a new project. Is there a way to get those project templates back to that list Markus I've had the same problem. It seems to be language related. I uninstalled XNA and c# express, installed the English version of c# express and reinstalled XNA. Now I have all the templates. ...Show All
SQL Server Troubles Creating an SSIS package with Data Conversion Issues
I have been testing and trying for days, almost a week trying to create a simple, single table SSIS package that i created in DTS in minutes. I'm very frustrated with how the whole process gets hung up in the data conversion. I have a DataReader Source (an ODBC connection (System DSN) to a Pervasive SQL Database). It pulls the table in just fine. I have a DataFlow Task, using a Data Conversion. I have a SQL Server Destination (The table already exists in the SQL 2005 database). Testing (just looking at the advanced editor of the Sql Server Destination) shows that every column indicates some type of Data Conversion issue, regardless if: "The column <xxxxx> can't be in ...Show All
Visual C# Mouse question/help
Hello, I am doing some research for a university and need some help with mouse movements. I need to be able to track the mouse no matter what window it is in. I have searched for this information extensively and have not really found a good answer. Idealy I would like to know for instance, if it is in Internet Explorer, where it is located i.e if it is click on the file button at the top for instance. For now however I just want to be able to have the mouse move outside my window and for me to be able to still ascertain its coordinates. Do I need to write some sort of horrible assembler program to get direct mouse input Also I am using 'forms'. not entirely sure on how to detect what "Window" you will be ...Show All
Visual C# Writing to a file
I am having trouble figuring out why I can't write to a file, but I can read from a file fine. I've tried a ton of different methods including StreamWriter file = new StreamWriter("file.txt", false); StreamWriter file = new StreamWriter("file.txt"); Each time the program runs fine, but no file is generated. Even if I create a new file in the folder and add it to the project it still does not write to the file. I have VS 2005, VS 2003, but right now I am using VS C# Express Edition. Thanks in advance for any help, maybe this is just a problem with my C# Express Edition. Here is an example that doesn't do anything. [source]// *** Write to file *** // Specify file, instructions, and privelegdes FileStream file = new FileStream("test.txt" ...Show All
Windows Forms DataGridViewComboBoxCell
Hello All, I can define a DataGridViewComboBoxCell as visible = false Best Regards Sandro Peixoto If i define the value of cell to DbNull.Value, the ComboBox appears, but it doesn't have any values. I would like that the ComboBox not shows in the DataGridView. Best Regards Sandro ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Managed DirectX in C# Training Courses in UK?
Hi all, I don't want to be the next best game developer but I've always been interested in game development. I have a couple of personal (unique, I think) game design ideas that I would like to undertake using Managed DirectX. I really would love to go on a crash course for Managed DirectX in C#, especially targeting Direct3D. I realise graphics programming and game programming as a whole is a massive subject that spans several skills and takes years to master. I've been reading books over the years and following C++ tutorials, I've got some understanding of bits and pieces of this API. What i haven't got is any completed projects or code and versioning is inconsistant. I suppose I am getting there slowly and steadily but I don't al ...Show All
.NET Development Parsing double value from a string
Hi all, I need to parse a string which is in the following format (example): -0.0004 USD/Tonnes Basically, it will be a double value, might be preceded by the negative (-) sign and followed by <Currency>/<Unit of Measure> . The result should be just the double value (with the sign if its there), as in the above example, it should translate to -0.0004 I wanted to know if there is an easy way of doing it in C#, like using the Double.Parse() or the string.Format() methods (I tried them both but couldn't get them to work) Or do I have to parse the string character-by-character to get the required result Thanks in advance, MadMonk P.S.: Apologies if its a silly question, I'm still a newbie in .NET ...Show All
SQL Server protect Intellectual property
Dear All, How is it possible to protect the Intellectual property for a integration / analysis project For instance if I build a complex solution – how do I avoid others to view and copy the solution. Best Regards, T ...Show All
