Paventhan's Q&A profile
.NET Development updating records
I am trying to update a record using one of samples provided and I always have the following error: "Reference to a non-shared member requires an object reference" The code I use is as follows: Dim totalsRow As mdstats1DataSet.TotalsRow totalsRow = mdstats1DataSet.Totals.FindByRecordID(1) totalsRow.smtpin = smtpin totalsRow.smtpout = smtpout The error is on the "mdstats1DataSet.Totals" Can anyone help me BTW, I am using VB Express and SQL Express Assuming that I'm reading your issue correctly, you need an instance of mdstats1DataSet . (In order to a ...Show All
.NET Development Framework 2.0 with MS CMS2002
Hi, I'm currently using MS CMS2002 in my company, I would like to migrate to the new framework 2.0. Have you some guidelines about it Thanks Alessandro. For what I know, an apposite sevice pack will be released by Microsoft in order to address CMS2002 + Framework 2.0. Stefan Gossner in his blog has some preview examples on what you can do today. Hope it helps. Gabriele. ...Show All
Visual C++ _strtime C3861 error
Hi guys, sorry to ask such a newbie question but when I try to build code which uses the _strtime() function I get a C3861 error. The time.h header is included and so I can't understand why the compiler would not recognise the function. What is even more confusing is that when I right on the offending function and select go to declaration it takes me straight there, so I'm thinking 'well. the IDE knows where the header is so what's the problem '. I tried working through the alphabetic function list of the common language runtime and I keep getting the same errors even though I am basically just copying and pasting the examples provided, he ...Show All
SQL Server Package hangs on parallel "upserts"
I have data flow tasks, one which validates the import file and one which processes the import file if the validation passed. The validation runs and pushes the three row types to three different recordset destinations. When I enter the processing data flow task, I have three parallel trees processing each recordset saved in the previous task. I'm using a script component to generate the rows which are then sorted and merged with the production database to find existing records. Based on this, I split to an OLE DB command (running an UPDATE command) or OLE DB destination (to simply insert the records.) In this particular case, all records ar ...Show All
Game Technologies: DirectX, XNA, XACT, etc. where get more particle system sample source code
I'm a particle jackaroo. Now I can write basic snow particle, but I want to write more particle. For example, explode, fire-flag, Magic Effect etc. Admin give me more particle ,thanks. What you need is point sprite Other particule based on Quad will have sorting problems You need to accelerate the particule and not being afraid of speed It make the effect more spectacular for the explosion and don't forget to match a sound to it... I recently discover the color orange...don't laught it's fun... If you set color to 1, 0.5 , 0 you have orange if you set color to 1, 1, 0 you have yellow So if you make fire particule and y ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Linker error, using d3dx9math.inl functions
Hello everyone, I am building a little renderer with DirectX, just for fun, using Visual C++ Express and the February DirectX SDK. I just implemented my "camera" class, which uses some of the functions defined in d3dx9math.h (like D3DXMatrixRotationAxis and D3DXVec3Normalize ). The linker complains saying: error LNK2019: unresolved external symbol D3DXMatrixPerspectiveFovLH@20 ...etc ... I know these functions are implemented in the d3dx9math.inl file, but shouldn't this file be linked automatically if I include the d3dx9math.h header file By the way, I now installed the April SDK. I ...Show All
Visual Studio VS2005 team system: SQL Server 2005 Express Edition install return code 28062
On my current machine I installed and also uninstalled the following releases: VS2005 beta2 VS2005 RTM(from PDC) I am now installing the MSDN VS2005 team system and it fails on the SQL Server Express edition as shown in the following log snippet. If someone could give me a workaround to this problem, or guidance, I would appreciate it. From the installation log: [12/07/05,09:38:33] Microsoft SQL Server 2005 Express Edition x86: CreateProcess launched with cmd lined:\vs\setup\..\wcu\sse\SQLEXPR32.EXE "d:\vs\setup\..\wcu\sse\SQLEXPR32.EXE" -q /norebootchk /qn reboot=ReallySuppress addlocal=all instancename=SQLEXPRESS SCCCHECKLEVEL=Inco ...Show All
Smart Device Development How to find out which FF events that are supported in CF?
Hi, On my desktop computer I have a Full Framework application where I only want to show the events, for components, that are supported in Compact Framework. I've tried loading the corresponding CF assembly into a new AppDomain, trying to find the type there, in order to see which events that are available. But this doesn't work, since trying to load the CF version of the System.Windows.Forms assembly still actually loads the FF assembly from the GAC, since the full assembly name is the same for the two. Does anyone have a better idea, that might actually work :) Thanks! / Joel Are you trying to load compact ...Show All
SQL Server Get a list of columns
I'm trying to get a list of columns from a table. Here is my code: public List < string > GetColumns( string serverName, string dataBaseName, string tableName) { List < string > columns = new List < string >(); Server server = new Server (serverName); server.ConnectionContext.LoginSecure = true ; server.ConnectionContext.Connect(); Database dataBase = new Database (server, dataBaseName); Table table = new Table (dataBase, tableName); foreach ( Column column in table.Columns) { columns.A ...Show All
Visual C++ How to change the Tab Label Font ,not all labels but the specific one. THKS!
Hi Dear All, How to change the Tab Label Font ( CPropertyPage) ,not all labels but the specific one. THKS! Man, that's a good one. I have a few progs where I use CPropertyPages, so I messed around with trying to change the font of just one of the tabs, to see if I could do it, but I couldn't figure it out. It seems all the pages in a property sheet are forced to have the same size font. Although, I'm not all that expert of a coder, so there probably is a way to do it. It just seems there's not simple way. Anyway, sorry I couldn't help, but that is a r ...Show All
Visual C++ MFC 8.0 problem: afxcomctl32.h structure alignment is 8 bytes (in MFC80.DLL)
Summary: In the release versions of MFC80.DLL the structure alignment when building afxcomctl32.h is 8 bytes. This is different from any other structure in MFC 8.0 (things normally use 4 byte alignment). I was having a crash with the CComCtlWrapper class when calling some of the CImageList functions (e.g. GetImageCount) I finally isolated the problem to alignment issues. Did you know that certain parts of MFC 8.0 are now alignment sensitive I was building my MFC app with 2 byte alignment, and the MFC80.DLL is built with 8 byte alignment. In previous versions of MFC, it was not required to use #pra ...Show All
Smart Device Development PocketPC client, Web Services and security.
Not sure if this is the best forum for this question so feel free to point me in the right direction. I have a Mobility application client that communicates with a Web Service. I would like to have at least a minimum level of security with this. I am not concern about someone reading the data going in and out, what I want to make sure is that it's my actual client code that's attemting to access the Web Service and no one else. Does anyone one have some thoughts on this and what are some of the things I should be reading up on Thanks Not sure which of the following two cases is what you want: ...Show All
Visual Basic VB 2003 Windows Forms Exception - Dialog Box Go Away
Hi, I am getting an occasional Windows Unhandled Exception error for an invalid parameter used which throws up the dialog box with info Although I have extensive error handling throughout my application, I am unable get any error in my code as this is a Windows Forms based error I have found I can hit continue and all is fine, but this is an embedded application and has no user interface Question Is there a way to configure the Framework, Complier, or my System to simply continue onward on any unhandled exception and no display the Dialog Box Doesnt the exception contain the call stac ...Show All
Windows Forms when can I get my pocket pc?
the Program Manager of .NET Terrarium have told me that I have been chosen as one of the winners of the International Terrarium Contest , but I wanna know when I can receive the award(I have send my mailing address to him ten days ago)! thanks for answer from anyone! Do you mean you will send mail to me or&n ...Show All
Windows Forms DataGrid double scrollbar problem
I stumbled upon a problem with the DataGrid control in .NET 2003. I'm using C# language. Here is what I did and the problem definition. I create a new form and I place a DataGridcontrol inside. Then, I create a DataSet having one DataTable, and bind it with the DataGrid. I create a new thread, and in that thread, I update the DataTable by adding a new row per sec. Running the program, I saw that the DataGrid updates properly, however, when the data exceeds the DataGrid screen and the vertical scrollbar should come up, two vertical scrollbars appear instead of one. The same thing occurs with the horizontal scrollbar. Is there a way to over ...Show All
