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

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

barkingdog

Member List

khawaja
budbjames
doublejay
Saji
Northern Rob
arkiboys
Wiegje
Jason D. Camp
Anarchy
KitGreen
Xancholy
Mark064
Yong Hwee
TonyP19389
frk
Sanje2v
Avi_harush
smickell
Yones
FallenKing
Only Title

barkingdog's Q&A profile

  • Windows Forms How to find the window handle which window proc is subclassed

    I try to find the window handle of edit box in calculator. But failed.... I see from spy++, that the window proc of edit box is subclassed, i guess that may be the reason why I can't get the window handle. Because i can get all the other windows in calculator. My code is: [ DllImport ( "user32.dll" )] public static extern int FindWindow( string lpClassName, // class name string lpWindowName // window name ); [ DllImport ( "user32.dll" )] static extern int FindWindowEx( int hwndParent, int hwndChildAfter, string lpszClass, string lpszWindow); public static void Main() { int hwnd=0; int hwndChild=0; int hwndChild1 = 0; ...Show All

  • Software Development for Windows Vista How likely are dropped frames in a simple graph?

    Greetings all. With regard to the ffdshow connection problem I posted about earlier, I figured it out. Apperently by default, ffdshow only connects to a few specific filters (DirectVobSub being one of them) that are known to support dynamic format changes. After disabling this option in the ffdshow options screen, my filter connects perfectly. Ugh... whoever coded that should be shot. Anyway, with that issue (finally) out the way, I face a new problem. In the program I'm writing, it would be REALLY beneficial to be able to seek via frame number, but obviously this is not an option for all media types, and I can't assume StartTime = FrameNum / FrameRate due to the joys of Variable Frame Rate media files. So a thought that occured to me was ...Show All

  • Visual C# How to Switch between two forms

    Hello Everyone, I have two forms, first one is the login screen and second is the one where the main stuff happens... Say LoginScreen and MainScreen two forms.... If user enters the correct password I want the application to take the user to MainScreen from LoginScreen -- This works But when from MainScreen I close the application it doesnt close completely.....It wants that LoginScreen should close the application............ How can I do that.... Thanks, Harsimrat I tried that and my login form have a cancel button....so when I cancel there I want the whole application to close with showing the dialog it just closes the dialog.... Any ways to deal with that Situation.... Thank ...Show All

  • Visual C# windows processes

    folks, I am trying to spawn some processes from my windows service ..using Process pr = new Process(); pr.StartInfo.FileName = @"C:\Projects\xxx.exe"; pr.Start(); How do i make sure that the process pr has gracefully completed or failed Is there a way to find that does the process report back to the windows service Thanks in advance thanks ahmed..what about a thread that gets spawned using new Thread( new ThreadStart(blah..).start(); how can i track the thread finish status tx ...Show All

  • SQL Server Array as procedure parameter

    I have a shift definition table with the columns: shift_id: shift's id shift_name: shift's name shift_number_of_day: shift's "position" on the day initial_hour: shift's initial hour final_hour: shift's final hour The shift definition depends on the company: company A may have 2 shifts, and company B may have 3 shifts, for example. I need to load a dimension table, dim_time, that should have a row for each hour of each day of a specific year. I would have alternate_time_key ... shift_name ... 1/1/2006 01:00:00 GraveYard 1/1/2006 02:00:00 GraveYard and so on, until it reaches the end of the year. So in my procedure to load the dimension table, I would have something like IF (@alternateTimeKeyHour ...Show All

  • SQL Server Unzipping a zip file-The magic number in GZip header is not correct.Make sure you are passing in a GZip stream.

    I have the following code in an SSIS package and I get the following error: Error: 0x0 at Unzip downloaded file, Boolean ReadGzipHeader(): Unable to decompress C:\ETL\POSData\IngramWeekly\INVEN.zip; The magic number in GZip header is not correct. Make sure you are passing in a GZip stream. Error: 0x4 at Unzip downloaded file: The Script returned a failure result. Task failed: Unzip downloaded file The zip file unzips perfectly using winzip utility, so that file is definitely not a problem here. The code I am using in a script task is as follows: ' Microsoft SQL Server Integration Services Script Task ' Write scripts using Microsoft Visual Basic ' The ScriptMain class is the entry point of the Script Task. Import ...Show All

  • Windows Live Developer Forums Tile Overlay Refresh

    We are rendering overlay tiles in VE and we need a way to refresh our overlay tiles already present (loaded) in a VE session. There does not appear to be a way to do this. I have tried: DeleteLayer and DeleteTileSource and then re-add (AddTileSource and AddLayer)...we even tried deleting everything and reloading the map Map.LoadMap... Our overlay tiles just immediately re-appear instead of the source in GetTilePath getting called again. What can we do We resolved it...yes, it was a browser caching issue. Our GetTilePath points to a custom http handler to generate the tile images. All we had to do was convince the browser the same tile (xPos, yPos and zoomLevel) was actually a new tile by adding a superfulous parameter on the ...Show All

  • SQL Server Update query runs very slow in SQL 2005 than SQL 2000

    We have upgraded our database server from SQL 2000 to SQL 2005. To migrate the DB I attached the mdf file in SQL 2005. After migration website loads quicker than earlier but records updation ( no of records are 20k) got slowdown. I have found that update query run very slow in SQL 2005 as compared to SQL 2000. Although other select query run very faster. Query is called from ASP (active server page) page. Changing of fill factor option from 0 to 70 also did not work. I also have set the competible leve to 90. OLD Sever Config: dual xeon 1GHz, 512MB RAM, window 2000, MS SQL 2000 New server Config: Dual Core Xeon with 2 CPU, 10 GB RAM, window 2003, MS SQL 2005 size of mdf file is 16GB Rebuilting of index did not improved the p ...Show All

  • Visual C++ mangled name

    Is there any API to retrieve the address of a method (private/public) using the mangled name. the method is supposed to be a class member. we can know the mangled name from the .map file in VC++ 6.0 Please also suggest a method of using this in GCC. You can use the undname command line utility to un-mangle the name, if that helps. It's not clear to me whether you want to get the symbol address from another DLL, another static library or within your main project. ...Show All

  • SQL Server Stored Procedure Problem

    hy i have a problem using a stored procedure to fill a resultset first i fill 2 tables within the stored procedure both having an employeeID. one of them contains information about Book Hours (the amount of time they worked) grouped by employee, year,month and Productive(boolean) the other contains a headcount value(indicates wether he was working for a ful month) grouped by employee,year and Month. 1st table lookes like Employee year month productive Booked Hours EmployeeID 1, 2000, 1, Yes, 103 EmployeeID 1, 2000, 1, No, 54 EmployeeID 1, 2000, 2, Yes, 99 EmployeeID 1, 2000, 2, No, 12 ... EmployeeID 1, 2000, 12, Yes, 72 EmployeeID 1, 2000, 12, No, 15 EmployeeID 2, ...Show All

  • SQL Server Dual Core cpu performance improvment SQL Server 2005

    Hi, I'm trying to find an approximate percentage of what would be the performance gain of using a dual core CPU instead of a single core for a SQL Server 2005 dedicated server. I've been trying to find this information for may hours but could not get anything. Could someone give me a rough estimate please Thank you! Maxim Thanks for your reply, but what I would like to know is what are the benefits (in %) of having a single core, single processor VS a dual core for SQL Server 2005. ...Show All

  • Windows Forms setup project is not updating according to main project

    I have a project and its setup project with it. all are in the same project. the setup project worked at the very first time when I added the setup project. after that I updated my main project. but when I build my setup project it does not reflect my updates. how can I make the setup project updatable please help me or tell me where should I talk about this. Thank You ...Show All

  • Smart Device Development sms in the inbox

    does any way to get sms in the inbox crino I have watched the mapi. It can send and receive sms. But I want to read the sms, which stored in the inbox. How to do it Thank you ...Show All

  • Visual Studio Object reference not set to an instance of object

    hi I am trying to export the report using export button in crystal report viewer and i am getting an error:Object reference not set to an instance of object Please help regards dhanya no im not disposing the report object. im getting the report properly.im getting this error only when im trying to export or print the report ...Show All

  • SQL Server Calling SSIS package from web service - Security issue

    I am trying to call a SSIS package from a web service hosted on the same machine as the package file is sitting. All that the package does is a simple Execute SQL task with one datasource connection. I have set impersonation as true. When I run the package from the web service on the virual port (through Visual studio IDE) it runs fine. http://localhost:4609/WebServiceRunSSIS/LaunchSSISPackageServiceCS.asmx In the above case I don't think impersonation means anything coz it runs successfully even when there is no impersonation set! I then run the same service (asmx page) from the browser after making it a web service on my machine http://localhost/WebServiceRunSSIS/LaunchSSISPackageServiceCS.asmx I get an error indicati ...Show All

©2008 Software Development Network