Mehmet Erdogdu's Q&A profile
SQL Server Dynamic File Names for Raw files created by conditional expressions
Hello, I have a huge table of around 6.2 billion rows in Oracle and I need to load this table to SQL Server. I am creating multiple raw files based on contact_dates in the table. I have used conditional expressions to branch out and create raw files. I need to specify static file names for each branch or I have to create multiple variables for each branch and use expressions to create file names. My intention is to create only 1 variable and evaluate the expression based on the conditional expression description. Is this possible Regards RH Here's one way to do it, perhaps: Create an execute sql task in the control flow to select distinct contact_dates fr ...Show All
Smart Device Development DataReceived/SerialPort Troubles
I am building code for the PocketPC to interface with a chemical sensor to poll and report on chemical agents in the air. I am having a devil of a time getting the DataReceived event to pass content (through an Invoke) to the main thread. When I write an "N" to the device, it is supposed to send back the following string to the UI, which represents the chemical sensor types that are housed in the unit: "CO VOC H2S LEL OXY" When I send an "R" to the device, it is supposed to send the current readings for each of the sensors as a string that looks like this: "00000 00000 00000 00000 00207". I have all of this working successfully as a WIN32 application, but it doesn't port cleanly to the .NET 2 ...Show All
Visual Studio dll reference doesn't work on another machine
Hello, I hope someone will have an answer to this question... I have two projects: An addin project and a console project. Both are sending/receiving a struct using the following from the addin project: MyObj.GetType().InvokeMember(sMethodName, System.Reflection.BindingFlags.InvokeMethod, null, MyObj, oParam); // where MyObj is the console project. All of that works on my development machine just fine!! But when I try to send that to any another machine that does NOT have Visual studio installed, the program breaks at the line above saying: "an error occurred here: Exception has been thrown by the target of an invocation. and exception System.Runtime.Interopservices.COMException (0x8002801D): Library not registered... (TYPE_E ...Show All
Smart Device Development Attach Windows CE 5.0 emulator to Visual Studio 2005
Hi, I would like if someone could help me out on this. I installed the Windows CE 5.0 emulator on my machine. But It is not recognised by the device emulator manager. So i cannot directly debug or run from Visual Studio. Is there a way to add this emulator to the Device emulator manager so that i can directly run my applications from Visual Studio 2005. Ok, I ran the install (Device Emulator BSP for windows CE 5.0 Import) , but the system says I need the Platform Builder so I went to Microsoft downloads and I am not sure what version I need to download... Any ideas I am using MS Visual Studio 2005, we plan to deploy to a windows ce 5.0 framework 2.0 device... It is amazing to me that this entir ...Show All
SQL Server Embedded Images Not Displaying properly
Hi, I have a question which i hope someone can help with. When using an embedded image stored on a server in my reporting services report i can see it when proeviewing the report but when it is deployed it no longer is shown on the report. If i try this with an image stored on my local drive it works fine in both preview and deployed mode. I am wondering why this could be My initial thoughts are that the security on the file stored on the server may not allow access when the report is run in a deployed state yet it is accessible to the report developper as they have access to the server directory. Does this sound feasible and if not can someone let me know as to why this may not work. Many thanks, Grant G ...Show All
Windows Forms Button to Form Communication
I have an array of buttons shown on my form. My buttons are of a custom type that inherits from Button. As is supposed to be, when I click the buttons, their OnClick method is called. I need to keep track of every two buttons that are clicked, such as a this button was clicked first, this one second kind of thing. How can I go about that Hi, You should connect all your buttons to the same onclick handler. Once this is done it's as simple as: MyButton m_previous = null ; MyButton m_current = null ; private void button_Click ( object sender , EventArgs args ) { if ( sender is My Button ) { m_previous = m_current ; m_current = sender as My Button ; } ...Show All
Windows Forms Opening / Closing Forms
Hey guys, Really simply, how do you open forms when you click a button! ! (i.e. in VB its docmd.open 'Form'). I just want to click a button and it pop up another form i have designed. Thanks in advance Tom private void button1_Click( object sender, EventArgs e) { Form2 form2 = new Form2 (); form2.Show(); //or form2.ShowDialog(); // or (my preference) // add this.DialogResult == DialogResult.OK // to your OK button event in Form2 if (form2.S ...Show All
Visual Studio 2008 (Pre-release) Strange Popup Behaviour
Hi, I am experiencing a very strange error with the Popup control. I developed a control that inherits from a Popup to show error information. This was a few months ago. The problem is that every now and then, the control just doesn't show. The problem is that sometimes, the popup will fail to show, but when I restart my computer, run precisely the same scenario, the popup works fine again. This is very worrisome as I can't rely on a control that on rare occations just stops working. I really can't tell you how to re-create the problem as I don't know how and why this happens. I would like to know if anyone has experienced this same problem with the Popup. And it is with the RTM version of ...Show All
SQL Server unable to download Report subscription into Excel or pdf
Hello, Due to large amount of data can not export to excel or pdf format nikhil ...Show All
Visual Basic Stopping execution of a subroutine
Ok. I have a series of events happening inside a subroutine. Near the beginning of it, I check to see if the StopRunning variable equals true or false. If it's false, I want it to keep running through the rest of the subroutine with no other problems. However, if it's true, I want the program to stop running through the subroutine and return to the other class that called it. How do I go about doing this I've tried using Me.Close() and closing the window in question, but it still continues to run through the code. Thank you for all helpful responses. If StopRunning = True Then Exit Sub End If ...Show All
Game Technologies: DirectX, XNA, XACT, etc. PC project -> 360 (including Game Library)
Hello, I just wrote a little puzzle game (Windos Game Project) and now I want to build the 360 version of it, but I have a little problem (probably PEBKAC *g*) I wrote a content-processor for instanced rendering (overriding ModelProcessor) and implemented a new ContentItem called 'Font'. It reads the *.fnt files from AngelCode Bitmapfont Converter. Because I want to reuse this, I put it into a "Windows Game Library" and everything works fine.. Now, if I try to put my custom content stuff into a XBox 360 Game Lib, the build process told me, that there exists no "TargetPlatform" enum - which is needed for the serialization methods. After thinking about it, I realize, that I wouldn't make sense that th ...Show All
Visual Studio Team System Print Spooler won't start
Can anyone help solve this problem, all printers have dissappeared from printers and faxesm any attempt to add printer says print spooler not running. I have followed Microsoft suggestions for restarting and get errors 1068 and 1053, nothing seems to work. I am trying to avoid a reformat if at all possible. The problem occured shortly after installing a new printer Lexmark 6200, though not immediately. I was able to use the new printer for 2 days, I then took my laptop to work and used it with other printers at work. At home again used the Lexmark and then next day at work no printers. A problem with the lexmark looping in scanner mode was stopped by removing the usb cord which iam concerned may have caused some sort of corruptio ...Show All
Visual Studio Documentation Compiler - Sandcastle
We did code complete of documentation compiler ( code named "Sandcastle") on June 15th and currently we are testing the tool building our .NetFramework documentation. We would like to release the CTP version of Sandcastle in Microsoft download center by next week. The perf in our testing has been great as we are able to build the entire framework content in less than 1 hour. I am in the process of going through final check and code signing required to post this in our download center. Please expect the CTP in the next week or so and I will provide an update here as soon I post the CTP. Anand.. Well it is the end of that next week that the Sandcastle CTP should be release, where is it I too would love to see sandcastle ...Show All
Visual Studio Team System WScript.Exec + tf get /all hangs?
I am having issues with TF GET using it under a WScript.Exec command. The get just seems to stop mid-retrevial. The code snipet I am using is below. It just seems to never finish. The TF executable just sits waiting for something it seems that I can't figure out. The command works fine without the script launching it. Any ideas as to what would cause it to just stop getting the files It also seems to always stop at the same spot. -Ed Abshire -- Code -- Sub GetTFSCode(workspace) Dim tfsExec wshFSO.CreateFolder "c:\source\tfsworkspace\" + workspace WScript.Echo "--- Getting latest " + workspace + " to " + wshShell.CurrentDirectory wshShell.CurrentDirectory = "c:\sour ...Show All
SQL Server Problem with &
Hai Iam using asp.net 2.0 with sql server 2005 as back end.. i need to pass the data to stored procedure via parameter containg (&) symbol for ex: If i pass string like "sample&ss" it gives the error xml parsing how to avoid this..welcome for your suggestion. Regards Senthil If the error is in parsing XML try this: "sample&ss" '&' is a special character in XML, and if you catually want to use it you need to represent it as & ...Show All
