Answer Questions
KamalKumar abstract class
This is my first time designing a abstract class and i have a question lets say you have a base class callled Bassclass looks like this namespace pratice { public abstract class BaseClass { public abstract void start(); } } i then have a derive class called Dev. in this class i havve implemention for methnd start here it is public override void start( int a ) { int r; throw new ...Show All
StephenT Default printer
Hi, i need to set a certain printer as the default system printer from within my C# application any ideas Hi, You can use the Win32 API call SetDefaultPrinter by using Pinvoke. See link: http://www.pinvoke.net/default.aspx/winspool/SetDefaultPrinter.html Regards, Vikram ...Show All
KrisFB_APPS live syntax error highlighting?
hello, i installed VS2005 and readed on the installing text about the following feature: the code editor highlights syntax errors imidiately without compiling (like eclipse for java). - how can i activate this feature - is this feature for all languages avelable (i want use this with C++) I don't think that feature supports C++. Background syntax checking is not available for all languages. Currently thi ...Show All
Roger_Wolter_MS StreamReader and File Position
I'm processing large binary files. These are PCL files, and I'm looking for page boundaries. I want to store the position of each Form Feed, which in PCL is decimal 12, hex 0C. However, that byte can also exist as part of a raster or other binary structure. So I loop through the file, and when I find a "12", I read ahead 14 bytes to compare them to a known string. If I get a match, I know the 12 was a real Form Feed, and I store it's position in ...Show All
Ignacio Danta How Can know the file type when the file without extension ??
Hi I have 10 files in folder but all the files without extension .. How Can I know the type for each file And thanks with my best regarding Fraas thanks for your answer exactly my target to extract the (*.eps) file , it's Adobe files I have 10 files in folder without any extension I want to extract from them only the (*.eps) files Thanks with my be ...Show All
brohar How do i find the calendar / appointments for a contact in code...
Hello Could some1 please help. Thanks a lot in advance. I am trying to create a query to return calendar and or appointments related to a given contact. I have gone through the sample wds code and in the QueryBuilder.cs file at the very bottom in the /// <summary> /// A list of PerceivedTypes that can be passed to ExecuteQuery(query, type filter) /// </summary> public struct TypeFilter { we have this public static s ...Show All
techvistas Formatting a string
hello all, Can u please tell me quivalent of below string in C#.NET strVehiNumber & " " & strVehiLocation & Chr(13) & strVehiTime & Chr(13) &strVehiSpeed & " Kmph" specifically,How to insert chr(13) in my C#.NET string Thanks , Anil Dhiman Well i use this method: chr(13) is \r (or "\r" as it sits in a string) and chr(10) is \n In C# you ...Show All
Marie C Using dll's in C#, convert this Tiny bit of vb6 code into C# [Beginner]
Someone made a dll [AresHash.dll] in VC++ & I want to use it in C#. He included the Visual Basic6 code for using the dll and it works well.. but now for me its C# and im new to using dll's here..... Here is the VB Code Private Type hash_channel externalIP As Long internalIP As Long port As Integer roomName As String topic As String ...Show All
Jyothi Srinivasan MSFT WDS never finishes indexing
If I watch the status, it will get down to 1 file left and then build back up to 40,000+ files left to index (I do not change very many files on this system and certainly not 40000 in a day). If I search using WDS, it says it is building the initial index. I have even left Index Now checkmarked for the last week. Any idea on how to fix Same problem here. The index agent has been running for 2 weeks now and the ...Show All
thaoula Solution configurations and solution platforms grayed(disabled)
I Installed VC# Express Beta 2 under Win64. Just started the IDE and then I removed some buttons from the main toolbar, set font colors, etc.... Created a few projects and wondered how could I change from Debug to Release configuration.... Then I saw I removed the Cconfiguration Manager", "Solution configurations " and "Solution platforms" from the Standard toolbar... I put them back... but now are BOTH GRAYED AND DISABLED, so I can't change con ...Show All
CB789 Debugger not working????
I can't get the debugger to function at all with VS2005. C++ projects work fine. But the C# debugger doesn't work at all. Even with just a simple helloworld application, when I set a breakpoint, none of the variables can be evaluated in the debugger. Everything says, "Unable to evaluate expression". Locals window is empty, watch window doesn't work. Immediate window doesn't work. What's going on I'm not the only one either. A couple people in ...Show All
Gargamel How can I make my combobox auto-search from its item collection?
I have a dropdown combobox and if I type a value for example if I press letter 'a' in the keyboard the 'a' from the list will display or any word that begins with 'a' displays. how do I do that You'd need to find a user control that does this or write one. I think www.codeproject.com may have one in it's articles section. thanks, found it @ http://www.codeproject.com/cs/combobox/lookupcombobox.asp hi, go to combob ...Show All
Michael M. Emmons Passing Values
I am writing an app in which when you click on a button, it runs the class that does all of the processing in another thread. Currently I am passing values by requesting them from the originating class in this fashion: ghv_sql_res sqlProcess = new ghv_sql_res (); progressBar1.Maximum = sqlProcess.totalCountReturn(); Basically what I would like to do is pass the values back by "pushing" them from the processing thread. Is ...Show All
Chrissivo WDS from a .NET Service or ASP.NET page?
Has anybody yet managed to directly call WDS from within an asp.net page or get it running in a .net service rather than executable I always get the dreaded QueryInterface for interface Microsoft.Windows.DesktopSearch.Query.ISearchDesktop failed. Error. I'm trying to build a service that will query many desktop search engines at once and combine the results and provide them to other front-end applications via a remoting service or soap service b ...Show All
BCoelho great plains
Hello, Is there any way to integrate Greate plains and verisign using c#. Here our main purpose is to verify credit card details submitted by user. After submission the whole details are submitted to verisign and if the user is authenticated then the complete details are transferred to great plains sql server. Here we dont know what all reference files are there to be used and how to pass the values to the verisign and back to GP sqlserve ...Show All
