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

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

Jkumar

Member List

adman666
amritpal
Markw2004
Juliano.net
re infecta
Ibrahim Y
kcchesnut
CJW99
Sweeps78
Fositron
pkv
RamyaP
kadabba
MarkSPA
clint 2
amsullu
Atul Bahl
Cyber_Wolf
nojetlag
boombastic
Only Title

Jkumar's Q&A profile

  • Visual C++ Compile error within code in #ifndef

    This is probably just me missing something obvious, but .... I've got a VS C++ program with a section of code patched out via an #ifndef NAME.... #endif section. The NAME is defined by a /D option on the command line (which appears correctly looking on the Properties page). Within the editor, the correct section of code is grayed out, so the editor at least is handling the #ifndef NAME correctly. However, when the application is built I get a compile error on one of the lines inside the #ifndef section -- it looks like the compiler is either ignoring the #ifndef or somehow the NAME has become un-defined. (I did do a search for NAME within the entire solution, and it is never #undef'd.) Changing it to an #if 0 compiles as expected. Any thou ...Show All

  • Windows Forms DataGridView wont show new entry..until i run it again

    Guys..i'm new here...and new with VB2005..im having this problem..that my datagridview wont show the new entry(i have a reg page) until i rerun the program...can anyone please look it up..tnx very much..could really use some help.. Form1.vb: Imports System.Data.OleDb Public Class Form1 Private AccountsDataSource As New BindingSource(My.Application.DAL.dbDataService, "Accounts") Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Me.dg.DataSource = Me.AccountsDataSource End Sub Private Sub dg_CellContentClick(ByVal sender As System.Object, ByVal e As System.Windows.Forms.DataGridViewCellEventArgs) Handles dg.CellContentClick End Sub Private Sub Fill_Click(ByVal s ...Show All

  • Visual Studio Team System get Latest

    Every time when i want to get Latest version of a project, why give me a message says All FIles are up to date. No files were updated because the requested file versions were previously downloaded. To force an update, use the "Get Specific Version" command with the "Force get" option checked. What does it mean What should I do to be able to ust get latest directly Thank you Hi Rita, I have followed your advice to add the user. But the prompt is still showing. Source control explorer All Files are up to date. No Files were updated because the requested file versions were previously downloaded. To force an update, use the "Get Specific Version" command with the "Force get..." ...Show All

  • Software Development for Windows Vista Difference using WorkflowQueuingService and ExternalDataExchangeService

    Hi Im playing with WWF and wondering what the difference is between using WorkflowQueuingService and using ExternalDataExchangeService I have read alot about why we need all these layers when dealing with workflow data exchange (support for pasivation eg). Ok. i thought that ExternalDataExchangeService solved that problem. No I just downloaded chapter 3 of Dharmas book (Essential Worfklow) wich states: " Although various communication technologies (such as WCF or ASMX) can be layered upon WF, they all must use the WorkflowQueuingService to robustly deliver data to passivated WF program instances " Where does that leave ExternalDataExchangeService regarding pasivation And what is the techinal/implemention wise diffrenc ...Show All

  • Windows Forms Progress Bar image

    Hey, I made a .png image and added it to the resources file, but now I need to make the progress bar BLOCKS the image...How do I do that I looked at codeproject.com but I did not find anything with making the blocks your own image... Actualy, there is a problem, with this code: pictureBox2.Image.Width = +2; How do I do that without errors Becuase I got an error... This progress bar works the way I am doign it becuase it has nom actual included code or anything relyign on it, so I am just using images, so I made a borde iamge and inside is another image set to streach and this 2nd image when timer1_tick happens it will get longer by 2 pixels... Thanks :) ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. aaaaaaaarrrrrrrrrrrrrrrrrgggggg!!!!!!

    I do not sleep the two days because of XNA framework… because it delays in such a way ... I am starting to hear voices ...I have fear… fear to sleep and the SDK not to leave. MClever wrote: Well just so you're well aware, there are ninjas trying to kill you.... Well, as long as there's not also pirates and robots. ...Show All

  • Visual Studio Express Editions problem with comboBox1 and the Enter key

    Hello. I am on my second project, a web browser, and I have aproblem with ComboBox1 and the enter key. Here's the code: Private Sub ComboBox1_KeyDown(ByVal sender As System.Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles ComboBox1.KeyDown If e.KeyCode = Keys.Enter Then WebBrowser1.Navigate(ComboBox1.Text) End If End Sub It works fine, when I press the Enter key WebBrowser1 navigates to the url in the i type in the comboBox. The problem is (anoying) every time I press the enter key the Windows Error Event Sound sounds. any ideas Your help will be very much apreciated. Thank you. Thanx Andreas Johnsson. I did that: Private Sub Com ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Custom processor with additinal data - Content pipeline

    I understand one can use the Tag property to add custom data while processing a model. Is that the only way Meaning, do I have to create a whole hierarchy of user defined classes with the Tag property as a root I though of something like deriving ModelContent but that's sealed. Create a collision skin (other than the supplied bounding sphere), add hard points to attach weaponry or any other thing that would require processing of the original geometry or exporting custom data directly from the modeling tool. ...Show All

  • .NET Development Logging Data Truncation While Using SQLBulkCopy

    Hi, I am using SQLBulkCopy class of .Net 2.0 to copy data from excel to SQL 2000 database. My problem is that I want to log records whose data was been truncated as the field length in the database was not sufficient enough to hold data present in the excel file. For example suppose there is a column called 'Employee Name' in the database as varchar (30) now if I try to insert data using SQLBulkCopy class from excel file having data of more than 30 characters for some rows then somewhere I want a log which helps me to identify that row number 10 & column number 20's data was truncated due to field length. Thanks & Regards, Pritesh Shah I believe you are correct on th ...Show All

  • Visual Studio The following module... error

    Hi, I am developing a solution that contains an exe and 4 dll file. I am using .NET 2005 C# platform. When i add the dlls to GAC, i can't debug the dlls. The error message is; "The following module was built either with optimizations enabled or without debug information" In the forum there are 2 smilar threates but can't solve my problem. Any suggestion Thanks in advance... ...Show All

  • Windows Forms Framework and Windows Installer not present

    I am deploying a project on a large number of user machines. On a W2K machine, when I tested the MSI, it of course, did not have the Framework or the correct version of Windows Installer. But I did get the expected error messages. So I am going to issue install instructions that state the order of install is to first install these two items, and then install the application. Do any of you do anything different Ok, that's a nice feature. Unfortunataly, it doesn't work. I don't know if it works on XP machines. But it does not work at all on W2K machines. ...Show All

  • Windows Forms Automatic update of label text bound to a class property updated by another thread

    Hi, I'm having troubles with a data binding between a label text and a class property. I have a class like this: public ref class TestClass : public INotifyPropertyChanged { public: virtual event PropertyChangedEventHandler ^PropertyChanged { void add(PropertyChangedEventHandler^ value) { this->propertyChanged += value; } void remove(PropertyChangedEventHandler^ value) { this->propertyChanged -= value; } }; virtual void NotifyPropertyChanged(String ^info) override { propertyChanged(this, gcnew PropertyChangedEventArgs(info)); }; property unsigned int ToW { void set(unsigned int tow_){ tow = tow_; NotifyPropertyChanged("ToW"); } unsigned int get() { return tow; } }; private: unsigned int tow; event Pr ...Show All

  • Visual Studio 2008 (Pre-release) Creating WCF clients from Type objects

    I was wondering if there is a way to create a WCF client by passing a Type object of the interface representing the service contract. For example: [ServiceContract] public interface IFoo { [OperationContract] void SomeOperation(); } class Program { static void Main() { IFoo proxy = new ChannelFactory(typeof(IFoo)).CreateChannel(); } } I know that ChannelFactory does not have a method CreateChannel() but I was wondering if there was a way to do the same thing. Thanks, Wells Wells,   You are right, there is no constructor for dynamically creating a ChannelFactory based on the type. I had the same problem for my Workflow Adapter/Connector Pair  solution where the client proxy w ...Show All

  • SQL Server Can we get the Next Row Value ?

    In SSRS 2005 we have First,Last and Previous functions which get the related values based on the use. I want to compare with the NEXT row value and print it according to my requirement. My question is How do I get the Next Row Value. Please Help. Could be tricky, however try using a protected variable in the Code view... something like this (untested): protected myprevValue as string public function setString(myString as string) as string myprevValue = myString return "" end function public function getString() as string return myprevValue end function Then you use a hidden text box with the expression =setString(myString) If you have multiple values or want to lookup by row number you can use a d ...Show All

  • Windows Live Developer Forums Windows Live Problems, Signing in not working

    When i sign in, it gives me and error message and says that the Windows Live Service is currently unavailable, i need help, is it me or is Windows Live not working at the pressent time. I didn't like the Demo of Windows live, so i kept my Hotmail, NOW i can't acsess it!! I just really liked the good ol' classic hotmail. A few months later i (Dec. 2006) I couldnt acsess my mail, i was always redirected to the Live pages. but the really wierd thing is that on New years I could use it. "Hurray!" right Wrong, The next day it quit working. If this happened to any1 else... (help me) P.S. Plese ...Show All

©2008 Software Development Network