Deepak Goyal's Q&A profile
Windows Live Developer Forums Custom Authentication module
Hi, How can I implement custom authentication module for Live Writer and replase default module I found IHttpCredentialsProvider interface which I can implement, but I don't know how I can replace default logic. Thanks, ...Show All
.NET Development Porting from 32-bit to 64-bit
Hello! I develop with VS 2005 on a 32-bit machine. In the future I want to compile on a 64-bit machine. The compiled code should only be for 64-bit machines in that case. Now I wonder if I can just put my source code from the 32-bit machine on the 64-bit machine and it will compile and run without problems Thanks in advance CSharpNewbie22 Compiling your code as 'x64' will allow your code to run only on 64-bit machines....'Anycpu' will make the same code to run on both 32-bit and 64-bit machines. hope this helps ...Show All
SQL Server still having problems installing sql 2005 express
this is from the core file Microsoft SQL Server 2005 Setup beginning at Wed Aug 16 18:14:14 2006 Process ID : 4668 c:\8c27e35b5d509dc8609c33e266\setup.exe Version: 2005.90.2047.0 Running: LoadResourcesAction at: 2006/7/16 18:14:13 Complete: LoadResourcesAction at: 2006/7/16 18:14:13, returned true Running: ParseBootstrapOptionsAction at: 2006/7/16 18:14:14 Loaded DLL:c:\8c27e35b5d509dc8609c33e266\xmlrw.dll Version:2.0.3609.0 Complete: ParseBootstrapOptionsAction at: 2006/7/16 18:14:14, returned true Running: ValidateWinNTAction at: 2006/7/16 18:14:14 Complete: ValidateWinNTAction at: 2006/7/16 18:14:14, returned true Running: ValidateMinOSAction at: 2006/7/16 18:14:14 Complete: ValidateMinOSAction at: 2006/7/16 18:14:14, returned true Run ...Show All
Windows Forms How to create and Invisible Groupbox
I am creating an application for a Tablet PC that has a flash movie playing in the background and looks for input from the user (from a writing area I have defined in a groupbox on the main form). I am curious how to make this groupbox invisible but still usable so that I can show it and unshow it without anyone knowing the difference and it will still collect the pen input. Thanks! Sorry to take so long to reply. Our power went out last Thursday and just came back on a little while ago. The DockStyle property won't have any effect, since neither form is a child of the other. When you say that you want the clearForm to be docked at the bottom of the baseForm, do you mean that the clearForm should be the same height as the clien ...Show All
Software Development for Windows Vista Unable to open the c:\ using create file in vista
Hi, I am unable to open the c:\ drive by using createFile in vista. The program that i wrote is file working on the WinXP and it is not working on Vista. I am using VC++.NET 2003 for my application development. Hello, Not sure if I'm too late on this one or not, but access to the root is not allowed in Windows Vista. I discovered this attempting to download an image from MSDN on Vista to the root, don't ask why :P, and discovered this after changing the directory. Access to writing files on C:\ doesn't even appear to be something you can give Vista administrative rights to do. Coming from a place where I troubleshoot malware infections on a daily basis, I can honestly say this is a pretty good feature to have built in. I don't ...Show All
.NET Development Command.Cancel - What is going on?
Hi all, I have this strange problem. I am trying to implement query cancel support within my application. I have a typical 3-tier architecture with a client, an application server and a db server (SQL 2005). The application server responds to client requests for queries (we use .NET remoting and pass DataSets to the client). My server is Singleton and each client request is served by a different thread. In my client I issue a rather large query to the database server (via the application server) in a new thread, thus allowing for cancellation through a Cancel button (my UI thread is not blocked). If the user hits cancel I call the .Cancel() function of the SqlCommand (I obviously do this on the server). The query cancels and I am very h ...Show All
SQL Server Report Run from a list instead of all
I am not sure where i should post this question since it falls both in Report Server and T-Sql but here goes... I currently need to run a Report that has only specified records that the client/user wants clicking the check in the check box next to the record they want. They can pick as many or a few of the records that want then run a report only with the records they indicated they wanted... i am thinking they will need some kind of t-sql statement either a function or temp table but i am not sure if even that... if anyone has any ideas please reply... Thanks, WoFe WoFe: One way to implement a short list process is to implement something like Jen Suessmeyer's "split" function; this function can be found at: ...Show All
SQL Server How to connect a MS Reporting Services area to a MY SQL Database
I am having a issue trying to connect MS Reporting Services with a MY SQL database. Under the system, I can get the connection to work, but when trying to run the queries, I get database connection string errors. I have found the sp_addlinkview stored procedure, but get errors trying to run the values though it. The MY SQL database is on a different machine from the Report Services Server. I had gone unto the server itself to setup this area. I tryed a solution posted on the internet, but that was what errored out, and the parameters did not seem to be the same. Thanks! Terry ...Show All
SQL Server Unwanted whitespace in drill-down matrix report
Is it possible to really hide (=not reserve space for) hidden drill-down-Matrix columns whose visibility is toggled by another report item We have built a SSRS 2000-report using the Matrix control and its drill-down functionality, and noticed that the hidden columns still take up space in the report layout. I've read somewhere in the documentation that the layout engine treats hidden elements as being not there only if the hidden property is a constant. If it is an expression, or its visibility is controlled by another report item, space is reserves in the layout even for hidden items. Now the obvious question; Is it somehow possible to avoid this The resulting whitespace between the first (visible) column and the actual data, du ...Show All
Visual C++ VC++ 2005 : ambiguous call to overloaded function
Hi all ... Why am i getting "ambiguous call to overloaded function" for built-in functions and operators I am trying to complile the project developed using the VC++ Version 6.0 in the new version VC++ 2005. Thanx in advance. I think the red line should be returnee += CString((TCHAR)c3, 1); or returnee += (TCHAR)c3; I hope it helps. ...Show All
SQL Server Validating a "date" masked as a string.
I'm trying to import a text file with a column that is actually a date value, like this "19550218" (yyyymmdd). What is the best way to test if the string-date values in this column represent valid sql dates Should I use SSIS to copy that value into an actual sql date field and see if an error is generated I have tried using the VB.NET "System.Datetime.ParseExact" function in a Script task but found ParseExact less than reliable. TIA, Barkingdog P.S. In fact, thought not speedy, I think that SSIS should come with a number of datatype validation routines "out of the box". Importing clean data is relatvely easy. It's handling the exceptional cases, like above, that really burn up my tim ...Show All
Visual Studio Simple change
Hello ! a newbie question. 1. I have used a "Minimal Sample" example. The DslDefinition shows an "Example Shape" that has a "Light Blue" color. I have tried a lot to change it to "Red", and to see the change in the VS test instance (after F5). No way to see the difference... 2. I have added my own domain class, and its own shape. The two are linked... but I cannot see it in the VS test instance... What did I miss Thanx a lot for any answer/clue/wish/prayer... Messaoud. Select all .tt files inside the GeneratedCode folder, right click and choose 'Run Custom Tool'. This will regenerate all templates and all changes should be committed/generated. Christoph ...Show All
Visual Studio Express Editions Adding images to a project?
I want to sort of store my images I use in my program with my project, so that other people can see them is there a way to do this I have an image stored under resources but when i go to call it ie mapImage=My.Resources.Washington it says it isn't a member of Resources. Anyone know why this is the case, I have set it as an 'Embedded Resource'. I fixed that error I think but it still refuses to recognize the image even though its in the resources list, it says "image is not a member of resources. ...Show All
Microsoft ISV Community Center Forums How do i reference a cell in an unopened workbook?
I want to get information from a network drive that i have access to and all users will have access to. Would it be something like workbooks("c:/folder/workbookname").worksheets("Sheet1").range("a5") Also, is there a way to shorten things a bit so that I only have to declare the location once then use a variable to reference it after that You can make it opening the workbook. Dim wb As Workbook, ws As Worksheet, v As String Set wb = Workbooks.Open("c:\folder\workbookname.xls") Call Windows("workbookname").Activate Set ws = wb.Worksheets("Sheet1") v = ws.Range("a5").Value Call wb.Close MsgBox v ...Show All
Microsoft ISV Community Center Forums How to create a menu & submenu ?
Hello, I’m beginner on Access-VB. I try to create a menu and sub-menu programmatically. I can create a menu but not sub-menu. Could you help me Here my code. ------------------------------------------ Sub SubMenuCreation() Dim MyMenubar As CommandBar Dim NewMenu As CommandBarControl Dim MyNewMenu As CommandBarControl Dim NewMenuCtrl As CommandBarControl Set MyMenubar = CommandBars.ActiveMenuBar Set NewMenu = MyMenubar.Controls.Add(Type:=msoControlPopup, Before:=10, Temporary:=True) NewMenu.Caption = "Menu" If Mid$([Forms]![frmLogin]![Acces], 11, 1) = 1 Then Set NewMenuCtrl = NewMenu.Controls.Add(Type:= ...Show All
