maulikk's Q&A profile
SQL Server Generating and directing new rows in PostExecute.
I want to construct a dataset based on all rows passed in from a source and, upon running through all of them, push each dataset record to an output. Unfortunately, upon calling the AddRow method, I get an "object reference not set to an instance of an object" error. Am I not allowed to create new rows in PostExecute Hmm, strange. if you want, drop me an email via here: http://blogs.conchango.com/jamiethomson/contact.aspx and I'll reply so you can send me the package. I can take a look and see if anything jumps out. If you can build the package so that I am able to run it as well (i.e. not reliant on external data sources, just use a script source component instead) then that'd help. -Jam ...Show All
Smart Device Development Little Help
I am using vs2005 and when I click to deploy my software to my handheld for testing I get the message "loading symbols for c:\Program Files\Microsoft.NET\SDK\CompactFramework\v2.0\Debugger\BCL\mscorlib.dll" This message shows at the bottom and it never gets past this point. It never actually deploys and runs my software. Has anyone ever seen this error. Please update your .NET CF to be at least V2 SP1 - we have several fixes for the debugger starting from this version. The newer version - the better. Best regards, Tanya ...Show All
SQL Server .NET Framwork error when starting SQL Server Profiler
Greetings, I have been having a problem when I try starting the SQL Profiler. I am running the SQL Server 2005 - Developer edition. I get a message box from Microsoft .NET Framework saying: Unhandled exception has occurred in a component in your application. If you click Continue, the application will ignore this error and attempt to continue. Could not load file or assembly 'ConnectionDlg, Version=9.0.242.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91' or one of its The details listed under the Details button are: See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box. ************** Exception Text ************** System.IO.FileNotFoundException: Could not load file or assembly 'Con ...Show All
.NET Development Problem With File Dates Created During Daylight Savings Time
I am using VB .NET 2.0 with Visual Studio 2005. I have a VB program which keeps adjusting the file dates when the files are considered to have been created or written during a Day Light Savings period. By this I mean when I read the IsDayLightSavingsTime property of a file date and it returns TRUE. For example, if I read a file that was last modified on 5/6/2006 at 8:00 a.m., my VB program keeps adding one hour to the time so it ends up reading as 5/6/2006 9:00 a.m. How can I stop this I need my file dates to match what is shown in the explorer window when you browse your files. This problem does not happen when the IsDAyLightSavingsTime property reads as FALSE. Below is a snipet of how I am getting the LastWriteTime of the files: ...Show All
Visual Studio Express Editions full screen media player
Is there a code to make windows media player go into full screen apart from right clicking on the player What i want to do is have a button that makes the player go into full screen is it possible I dont think so - check out the documentation ;-) I couldnt find any event about this, there maybe one but I couldnt see anything that would tell you when the screen mode has been changed ...Show All
Visual Studio 2008 (Pre-release) Is it possible to specify Click events in generic.xaml resource file?
Currently I get the error when specifying a click event in my generic.xaml Error 311 'ResourceDictionary' root element requires a x:Class attribute to support event handlers in the XAML file. Either remove the event handler for the Click event, or add a x:Class attribute to the root element. If I add the x:Class="X5Client.DynamicWindow1" attribute specifying the class that contains the event, I get a different error. Error 310 Partial declarations of 'X5Client.DynamicWindow1' must not specify different base classes. Rod, If you can live with having your event handling method in a code-behind file (not in the XAML), then try the technique shown here: http://www.infusionblogs.com/b ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Xbox 360 Headset
Hello, i want to know if and when how, i can use the Head set for the Xbox 360 game i am developing. Any help would be greatly appriciated. kcchesnut wrote: i'm interested in this too. the key is if we get access to the actual headset audio stream No, wireless headset (and hence microsophone) is not enabled in this release. ...Show All
Visual Studio Tools for Office Office 2007 Ribbons & Icons
Hi all, I am looking for a free .NET control which imitates the look and feel of the Microsoft Office 2007 UI (Ribbon). I know that there is commercial controls, but they are too expensive. Also, I’d like to know if (with the licensing) are allowed to use Microsoft Office 2007 Ribbon icons and where I can get them. Thanks for you help ! Martin Thanks ! But I've already looked at this control and it seems to me a little too buggy. Also, I am surprise to see that nobody has improved this control since the time it's out... Any alternative or new version of this control ...Show All
Windows Forms Changing Deployment Method
I remember watching a video a while back where the MS host show how "easy" it was to switch from a desktop application to a web based application through Expression. I'm trying to find documentation on this, or something to further explain it. Thanks! There is a way to change deployment method through project projecties, but that doesn't have the expected results so I'm not sure if I'm doing something wrong. Its ok. Thanks for the reply anyway :-) ..Hmm, I guess I did drop down to Windows Forms. Sorry about the miss post. I thought I was in ClickOne for the WFP forum group I was in earlier. ...Show All
.NET Development App settings accross multiple assemblies?
Hi all, In .NET 1.1 I was able to define application settings within the App/Web.config file that could be accessed from any assembly within the application from System.Configuration.ConfigurationSettings.AppSetting.Item("..."). How can I do this in .NET 2.0 Thanks in advance, Stephen. It works much the same way... only in the 2.0 world ConfigurationSettings has been deprecated and ConfigurationManager is the preferred route... although both still work, using ConfigurationSettings will throw a warning at compile time. If the old way isn’t working for you... how is it failing Do you have a reference to System.Configuration.dll as part of the assembly trying to read the AppSettings ...Show All
Windows Forms numerical textbox
dear all I want to have a textbook with only number entries allowable in it. When a non numeric character is enteredm it shouldnt do anything. I tried using the masked textbox but the problem is if we select only numbers in the properties for the mask, we can still enter digits anywhere in the middle like... 12 45 as a single number with a space, can someone suggest. I want the textbox to be from left to right and ’no spaces allowed. thank you in advance, cheers, prasad.. SvenC wrote: Please let's stay polite and not offend helping people by using ! after each sentence. Also note that your code (as well as mine earlier) does not handle clipboard past ...Show All
Visual C++ upgrading application from windows2000 to windows XP
Dear All, We have an application developed to work on windows 2000 and we want to run the application on windows XP now. Any changes are required to the application software Please suggest. Thanks Hello Martin and Alex, Thank you very much for your answers. I found in the code that the application checks for the operating system and if the OS is other than 2000/NT it aborts. Please find below that part of the code. In this case do I need to change any thing which will make the software to run even on Windows XP I have observed that the application runs on some PCs with XP and does not run on some other PCs with XP. The following is the code /* * Determine whether we're a Wi ...Show All
SQL Server passing a timestamp datatype column to a variable and back
After several hours of trying, I trow the towel in the ring and come here to ask a question. Source system uses a timestamp column in the transaction tables. which is equal to a non-nullable binary(8) datatype (sql 2000 bol). What I want to do is get the timestamp at the start of the transfer and at the end of the transfer of data. and store these in a controltable I try to do this in 2 sql execute tasks: sqltask 1: "select @@DBTS AS SourceTimestamp" and map the resultset to a variable. Here come's the first problem what variable type to take DBNULL works (meaning it doesn't give errors) (BTW: is there a way to put a variable as a watch when debugging sql tasks ) INT64 and UINT64 don't work error message that t ...Show All
.NET Development Interop Timeout
I am using a COM component in my .Net application. My application is a windows service. Basically its a multithreaded application. I am using tlbimport utility to create RCW for a COM component. My problem is, sometimes the RCW call takes time to return. Is there any way to specify the timeout for the RCW call so that I can break the call. I am using .Net framework 1.1. Any help would be appreciated. Thanks in advance. Cheers. Samir ...Show All
SQL Server # manipulate field value from select statement
Hi all, any assistance will be much appreciated on this one .... a bit clueless at the mo! I've been trying to execute the code below in which part of my select statement is a calculated value i.e. Right([ED],2) & "/" & SUBSTRING([ED],5,2) & "/" & Left([ED],4) AS ENDDATE code: SELECT vw_contract_dates.[ContractNo], vw_contract_dates.[Title], vw_contract_dates.[CC], vw_contract_dates.[Sponsor], Right([SD],2) & "/" & SUBSTRING([SD],5,2) & "/" & Left([SD],4) AS STARTDATE, Right([ED],2) & "/" & SUBSTRING([ED],5,2) & "/" & Left([ED],4) AS ENDDATE, vw_contract_dates.[CEILING], [CEILING]-[SPEND] AS Remain, vw_contract_spend.[SPE ...Show All
