Faldegast's Q&A profile
Smart Device Development How to know the IP@ the emulator gets via DHCP
Hello On the emulator, i run a server application waiting for some requests sent via a client program located on the host PC. The application is launched at startup and get an IP address from the DHCP server. For some reasons, this IP is not always de same, and i need to know it in order to be able to send request from the client application. The emulator has no host name, and for some other reasons, i don't want to give it a name. FROM the pc, is there a way to get the IP address assigned to the emulator i used all the standard network tools like nslookup/arp/tracert/route/netdiag, etc... no way to find it. For some technical reasons, i cannot use activeSync. Maybe via Virtual Machine Network Services, but i cannot find anything connecte ...Show All
Software Development for Windows Vista Breaking changes in June 2006 CTP
InfoCardClientCredentials does not seem to exist anymore. Is this replaced by the regular ClientCredentials class Nigel, I did get your code to work in Beta 2. I've stopped working with the June CTP because of the lack of availibility of the June CTP build of Windows Vista. I'll try again when the next CTP (or RC) becomes available on MSDN. Thanks, Nico ...Show All
SQL Server VERY large binary import/export headache
Hi, I am currently importing (and exporting) binary flat files to and from Db fields using the TEXTPTR and UPDATETEXT (or READTEXT for export) functions. This allows me to fetch/send the data in manageable packet sizes without the need to load complete files into RAM first. Given that some files can be up to 1Gb in size I am keen to find out a new way of doing this since the announcement that TEXTPTR, READTEXT and UPDATETEXT are going to be removed from T-SQL. I had a quick foray into SSIS but couldn't find anything suitable which brings me back to T-SQL. If anyone knows a nice elegant way of doing this and is prepared to share, that would be grand. Thanks for your time, Paul TEXT is going away in favor of varchar(max) or varbinary( ...Show All
Visual Basic openrecorset command
I have been using ACCESS 97 and have upgraded to 2002. In the VB code you access a table like this. Dim rstTable as Recordset Set rstTable=db.openrecordset("tblEmployees") This set statement not longer works. What am I suppose to use to define a recordset Its been awhile since I played with a recordset at all. Where ya beed susan. Hope this helps. ADO.NET: Convert an ADO Application to ADO.NET http://samples.gotdotnet.com/quickstart/howto/doc/adoplus/employees.aspx ...Show All
SQL Server Difference between left outer join and right outer join
Hello, What is the difference between left outer join and right outer join. Which one is better. I know the basic difference wherein for left outer join all rows of table in left are selected and compared whereas in case of right outer join all rows of table in right are selected and compared. But besides that what difference it has I am not aware of it. Also I am not sure which one is better over the other. Thank You Jatin There's no other difference. You just use one or the other depending on what order the tables are mentioned in the query and which one you want to be the "primary" table. ...Show All
Visual Studio Communication between tool windows in VS AddIn
Hi There, I'm writing a Vs 2003 add in which suppose to create two tool window. The first one is a search window and the second one suppose to display the searhc results. Is it possible for one tool window to open another one Thanks, Ron Sure. You need to keep a global EnvDTE.Window variable and the first time you call CreateToolWIndow and make it visible. Next times you just make it visible. Toolwindows are not destroyed when you click the "x" button, they are made invisible: if (g_objWindow == null) { g_objWindow = CreateToolWindow(...) } g_objWindow.Visible = True ...Show All
Visual C# How can I show a contextMenuStrip when a user right click a mainMenuStrip item?
Hello, Can you please tell me how can I show a contextMenuStrip when a user right click a mainMenuStrip item Exactly like Internet Explorer Favorite menu and Firefox Bookmarks menu. Thanks in advance. Sorry for the wait. I have been on a business meeting trip. As far as what you are doing....do this: pass in the control or button control that you want the context menu to associate to, and a point. So: // Point where the mouse is clicked. Point p = new Point(e.X, e.Y); this.myDesignTimeCreatedContextMenuStrip.Show(the toolbar control object, p); ...Show All
SQL Server how to use the OLEDB command to call a oracle function?
HI, I want to use the OLEDB command to call a oracle function, but i havnt found any materials about how to do that, my oracle function is as below: CREATE OR REPLACE function GET_ZONEID_FROM_SYFZ(ycz varchar2,xc varchar2,strat_id varchar2) return varchar2 IS zone_id_result varchar2(10) ; begin PKG_DM_DQ.GET_ZONEID_FROM_SYFZ(ycz,xc,strat_id,zone_id_result); return zone_id_result; end; In OLEDB command transformation component, i fill the sql command with "select GET_ZONEID_FROM_SYFZ( , , ) from dual", but i dont have it worked. The error message is :provider can not derive parameter information and setparameterinfo has not been called. Who have any idea about how to make it work Thanks ~~ ...Show All
SQL Server drawback when I try to execute SSIS package
Dear folks, I’ve installed Sql25k Client Components on my own workstation (XP SP2) in order to build ssis packages comfortably against our production server (64 bit on A-P cluster) I open my Visual Studio .Net 2003 and create a new Windows Application. But when I run the code for to launch a SSIS package fails. It doesn’t find the necessarry assemblies. Fine, I understand it. No problem. I copy them from %windir%\sql server\90\assemblies\... to C:\windows\Microsoft.NET\Framework After that I’m going to add new reference from my project but .net complain telling me that these ones are not valid assemblies Assemblies are: Microsoft.SqlServer.ManagedDTS.dll \Program Files\Microsoft ...Show All
Visual C++ transparent Bufferedgraphics&UI
Hi everyone! I'm not sure whether this is the right place to ask about but If not so, can anyone redirect me to right place. Anyway here is my problem: I created a simple Windows Form which has a trasnparent background color, Let's say color1. This Form also contains a BufferedGraphics object (grafx). My aim is to make grafx has a transparent background, too. When I run my application it works fine(grafx and form both have transparent backgrounds), however when I clear grafx to draw something new, I lose the transparency of grafx. It becomes simply black even if I pick color1 as black. How can I reach transparency options of BufferedGraphics object if something like that exists if you have a solution for making grafx transparent without ...Show All
Software Development for Windows Vista How do i implement this workflow ?
Hi All, I am trying to make a simple workflow that has 4 parallel activities each getting input from different users (say it takes interger as it's input) and then adds the inputs (integer values). I was thinking of creating a custom activity that takes input from the user and run 4 instances of it parallely so i will get 4 different inputs and then at the end of the parallel activity i have a cusum activity that adds the 4 input. Is this the right approach. Do parallel activities end seperately and can't be merged into another activity Or if they could then in my case how do i send data from the parallel activities into the activity that does addition. Thanks, Sonali Hi Tom, When you say ha ...Show All
Visual Basic Can I create wizards for my program?
i was just wondering if I create wizards for my program like to accept input from user then process them and stuff. i will try it out quite confident i can do it. but a question, then won't my program have alot of forms u said no wizard control for winforms does it mean if i use something else there is Also i will have alot of controls doing the same functions. is it ok, done professionally anyway of reusing them say i lay them out in a panel control. can i 'copy' it ...Show All
SQL Server Dts Package foreach loop container and Excel connection manager
How can I use a foreach loop container with an Excel connection manager. It is virtually impossible to configure the ConectionString property through expressions builder. Everything works fine with a Flat File connection manager but when it comes to Excel, I get the following error message: Error 1 Validation error. Extract Four: Extract Four [1]: The AcquireConnection method call to the connection manager "Excel Connection Manager" failed with error code 0xC0202009. Tarification.dtsx 0 0 Please ! Heeeelp ! tel me how I can loop through Excel files ! Thanks Rafael !!!!!! Here is what my problem was : When I created the varFileName variable, I simply did not assign it a value ! I just c ...Show All
Software Development for Windows Vista pesky DLM file
I've inadvertantly downloaded the 5536 build vista as a DLM file when i'd obviously would prefer it in .iso format. When i click on the file i get the manditory "windows cannot read this file, shall we look it up on the net instead " and the programs it comes up with are of no use to me what so ever! is there any good program that reads this format i've been told it's a download manager file, but how do i get that and if it's a standard download then y doesn't windows bring it up when it consults the internet or should i cut my losses and wait for 5600 Click the details button in the download manager and check the launch when done box. Once the file finishes it should launch your burning softwar ...Show All
Audio and Video Development Production Method for Released HD-DVDs
I'm curious, have all the currently released HD-DVDs been produced using SACA (Sonic) If not then what are the other tools Yes, H264 is hard to decode. But I think the software and hardware (CPU and GPU) will be optimized, like MPEG2 with DVD Video 7 years ago (in 1998-1999 PowerDVD need CPU at 400MHz, but at last of 1999 WinDVD need only 300Mhz CPU). And it is hard to put a movie in HD DVD on DVD disc with VC1 codec. HD DVD format advantages are : - "iHD" technologie (from Microsoft, good work ;-) ) - TwinFormat (not Combo) : same side with one DVD layer and one HD DVD layer - HD DVD on DVD disc ( DVD Rom at 3X speed) For iHD, thank you at Microsoft for this forum and the help from its good developers. But the multiplexer ...Show All
