Srikanth Ramakrishnan's Q&A profile
Software Development for Windows Vista XPSDrv in Windows XP not spooling
Hi, We have a monolithic XPSDrv which works fine on Windows Vista 32bit. But when we try it on Windows XP 32bit the job does not get spooled. Following are our observations: 1. XPSDrv gets installed. 2. The XPSDrv is using the XPS PrintProcessor. 3. Print Job goes to spool queue but gets deleted after sometime. This happens in all cases of FILE port, port with a file name, TCP/IP 4. The PrintFilterPipelinesvc.exe gets loaded. But the filter does not get called at all. We have tried with the WdkPipelineFilter.dll (sample pass through filter with WDK 5744) Can anyone please help. Thanks and regards, Mridu In addition to the above.... Kindly tell me the meaning of the followi ...Show All
Smart Device Development AVRCP
Any help in finding documentation on how to use AVRCP in C# CF 2 appreciated :) Microsoft BT stack APIs are described here (WM 5.0) and here (CE 6). I’m not sure if this profile is even supported though and if it is it might be up to OEM to support it or not. If you happen to have 3 rd party BT stack you’d need to contact that 3 rd party to obtain documentation and/or SDK. Link #3 points to one of these manufactures. ...Show All
Visual Basic GetSchema usage and applying restrictions: the best way?
Hello, I have been playing around with the GetSchema method in my app and I find it very useful in getting a list of talbe from my access database. I would like to do the same for getting columns from the same database. How do we restrict the GetSchema thing to show only certain items by applying objconnection.Getschema("Columns") I get a lot of information, some of which I don't want the user to see. I observe that we can restrict by setting it to show columns in tables based on TABLE_NAME, but how do we add more restriction like letting the user see column which have integer data_type like students first test score eventually I would like to put the column names in a combobox as well..... Incidently, how do best app ...Show All
Visual Basic VB6 dll to .NET- basic question
Hello there, as the name suggests I'm a complete novice, so apologies in advance... I have a VB6 dll that I need to use in VS2005. After using the VS upgrade tool, the dll (which deals with scanning) works, but not as it should. Instead of opening its own scanning dialog box, I get the scanner dialog box. After doing some research, I've tried to use the tlbimp as well as the regsvr32 tools with no success (the tlb told me the dll is not a library type and the regsvr returned a message saying the DllRegisterServer entry point was not found). I don't have any idea what to do or where to look for info for beginners, and would be grateful for any suggestions. All apologies... I should have said the vb6 dll will be used in a vb2005 appl ...Show All
SQL Server Which database to use?
Hi there, I'm about to start work on a single-user app. I'll be writing it in C#, as a Windows Application, and am trying to decide what database to use. All installation (application and database) must occur through an installation package - I will not have administration access to the customer machines. My customers will not have any database engines installed, but will use Windows XP SP2. I guess this means that if I use Microsoft Access I don't need to do any extra installation work - I can just install a blank DB MDB file in the application directory and go from there. However, I'd really rather use SQL Server Express if possible - what is involved in using SQL Express instead of Access Is it possible to automate installation of the S ...Show All
SQL Server Current Time
Hi. I have a critical design issue. Not a regular time dimension case. i work for a set of schools where each school academic has a different academic calendar. say some schools start in august, others in september.. i generated the date keys per school to populate the time dimension. so my time dimension looks like this: DATE_KEY , DATE_SCHOOL , DATE_DATE , DATE_YEAR , DATE_MONTH , DATE_WEEK , DATE_DAY_NUMBER , DATE_FISCAL_ACAD_YEAR , DATE_FISCAL_TERM , DATE_FISCAL_WEEK , DATE_FISCAL_WEEKDAY_NUMBER , DATE_FISCAL_ACAD_YEAR_DAY_NUMBER , DATE_HOLIDAY , (y/n) DATE_WEEKEND , (y/n) DATE_DAY_NAME , DATE_FISCAL_TERM_FIRST_DAY , DATE_FISCAL_TERM_LAST_DAY , DATE_FISCAL_WEEK_FIRS ...Show All
Gadgets world of warcraft realm status gadget?
i ve been looking around for a gadget like this for awhile. here is the page that shows the realm status here if anyone has any idea on how to make it let me know i will give it a try if its pretty simple. thanks for your time guys. sorry it wouldnt let me see that widget says i have to be a member to see the page when i tried to sign up it asks for a signup fee. here is a page from konblafulators page http://www.widgetgallery.com/view.php widget=39352 if there is already a gadget made that would be awesome but it wouldnt let me view that page :( ...Show All
Windows Forms column focus in DataGridView
Is it possible to restrict user to put focus on a particular column in DataGridView Yes, that information helped me, altough I have downloaded DataGridViewFaq which contained this info. I only needed to override SetCurrentCellAddressCore and SetSelectedCellCore, and so far it works well. ...Show All
Visual C# Release mode in VS2005
Hi I have notice that when I run my project from the IDE in Release mode the debugger still stops on the breakpoints. What is happening here This behavior is different to VS2003. I want to run my app without disabling the breakpoints thanks kenny Choose "Debug|Start without debugging" instead of "Debug|Start Debugging" (or press whatever shortcut key you have attached to "Debug|Start without debugging".) Is your best option. Craig Maslowski, MCT ...Show All
.NET Development Reverse engineering in .NET2.0
I have an assembly built in .NET 2.0. This is basically a user control. The assembly is written in C#. I dont have access to the source code. Is there any way I can reverse engineer this assembly and can see the source code. I tried ILDasm.exe but it does not show the source code. Any help will be highly appreciated. Thanks, Vinit Hi .net Reflector is a great tool to do this. http://www.aisto.com/roeder/dotnet/ Regards Adrian S. ...Show All
Visual Studio Team System getting selected item
this is part of the code i have written follow naren's blog, if (doc is IResultsDocument) { int selectItemId = ((IResultsDocument)doc).SelectedItemIds.Length; message = String.Format("Results document with {0} items selected \n on server {1} \n and the workitem id = {2} \n Type Name = {3}", &n ...Show All
.NET Development web service
Hi, In web form application,i add a web reference with name dataset.It is generating the 3 files datasetwebsr.disco,datasetwebsr.discomap,datasetwebsr.wsdl.To see the proxy code In ASP.NET express edition there is no show all files option.How to see proxy code. Please help me. Thanks in advance ...Show All
Visual Basic GDI newbie help
I am jus beggining to work with GDI with visual basic. Trying to draw a line with the system graphics, I get a nulll exception error. Dim bb As System.Drawing.Point bb.X() = x_plot bb.Y() = y_plot hit.DrawLine(Pens.Black, x_plot, y_plot, 580, 195) I get the error on hit. what I am missing. Thank for help Dim TmpGraphics As System.Drawing.Graphics = System.Drawing.Graphics.FromImage(PictureBox1.Image) TmpGraphics.DrawLine(Pen, X1, Y1, X2, Y2) PictureBox1.Refresh() ...Show All
Visual C# SP2 causing error?
I have a project that is having issues with SP2. It is a browser that was created to incorporate encryption and decryption protocols. I have done some minor fixes to the code since it was originally made, on my machine with SP2; now, the browser has exceptions on machines still running SP1 with the Explorer 6 browser object. In order to recompile this application to run on these older machines, do I need to remove SP2 from my own machine, or does anyone know of a workaround Thanks I'm sure willing to try; but my application is comprised of several different solutions at this point (I'm working on putting them all together in one solution, but running into compilation errors because of output se ...Show All
.NET Development .NET equivalent for API
Hie, does anyone know the .NET equivalent for the following API: FindWindow (Ex) SendMessage FlashWindow FindFirstFile (for file enumeration) i dont want to use THE API.. in the C#.. when the .NET classes exist... i want the equivalents Thanx This link talks about the FindWindow equivelant in C#: http://www.mycsharpcorner.com/Post.aspx postID=32 Also it shows how to close another process's window, No sure what's the call for that in Win 32 API, but you can at least do that in .NET! Hope this helps ...Show All
