zoomer's Q&A profile
Windows Search Technologies Protocol Handler SDK? Need searchapi.h, srchprth.idl files.
Hi, All. I'm hoping someone can point me in the right direction. I have been doing research and I can't seem to find searchapi.h , srchprth.idl anywhere. I have installed the Windows Server 2001 SP1 SDK, Office 2007 SharePoint Server SDK and Windows Sharepoint Services V3 SDK, none of which have the required files. Unless I'm missing something, this shouldn't be this difficult. I've read through the limited devguide ( http://addins.msn.com/devguide.aspx#Interfaces ) but the SDK offered there is only the WDS Query API. Can someone please help Stephane Hello Stephane, After searhing through the Windows SDK a bit I found that the header and IDL files, searchapi.h and searchapi.id ...Show All
Visual Basic t?mer
good evening. m huriye. firstly speak a little english.so am sorry. want to code (visual basic "timer".) my proje. f you have got timer of code,you send to my msn adress or there write . thank you good bye. well what do you really want from a timer here is a small guide create a VB Winform project drag a label on the form. Lets name this "lblTimer" drag a button on the form. Lets name this "cmdStart" drag another button on the form. Lets name this "cmdStop" drag a timer on the form. Lets name this "tmrTick" set the timer interval to 1000 (1 second) double click the timer. In here insert the code to update the label with the current time: ...Show All
Visual C# Command shell in console app.
Hello. I want to write a simple command line tool like SCLCMD.exe or telnet. How could I implement such functionality Is there any standart approach for this or I need to do something like this: [code] Console.WriteLine(">"); Console.ReadLine(); [code] for each command Close. Most of these command-driven tools just use a loop with write-read-line, then do something depending on the command issued. Here's a simple version of that: while (currentCommand.ToLower() != "quit") { Console.Write("Command>"); currentCommand = ParseMyCommands(Console.ReadLine()); switch (currentCommand) { // case for each command to branch out to different logic } } ...Show All
.NET Development How can I disconnect Wireless Network Connection?
Hello, I have started to develop a network application which will run on the notebooks.I need to disconnect the Wireless Network Connection when the user simply press a button. I searched on the internet but could not find a solution using c# or vb.net. How can I do it using .net framework (2.0) classes. Do I have to use API Thanks in advance. Oceaner. OK Thanks, Yes I new it its for RAS based connections like DialUp and DSL. You are probably on Wifi which is again a LAN so it won't work. I would like to know how you disconnect manually from Wireless network so that May be I can find some Native API to do this for you. Any further input may help me in finding some solution because I ...Show All
SQL Server WSUS reconstruct the environment
Hi All Im a new comer to the site and wsus. I inherited a functional wsus server it was great but due to a demand for improved reporting features I attempted to install the Wsus rollup reporting sample. Im uncertain as to how but I hashed up the installation to the extent that it corrupted the MSDE installation. It was suggested I remove wsus and reinstall. At this point I made another error. I was told that WSUS 3 had improved reporting features (and indeed it does, its infinitely better in that respect) so I signed up with Microsoft and downloaded the installation file. WSUS 3 uses SQL 2005 for Windows so my back up of the MDF & log files were rendered useless. I have since removed WSUS 3 reinstalled a fresh copy of WSUS Sp1 and run ...Show All
Visual C# Drawing and Refresh()
Hey I have problem with function OnPaint: ex. int x = 100; protected override void OnPaint(PaintEventArgs e) { Graphics gfx = e.Graphics; Pen myPen = new Pen(Color.SandyBrown,5); gfx.DrawLine(myPen, x, 180, 200, 200); } I would like to still have got line when value of x = 100 after changing it to 200 and calling Refresh(); How to do that thanks I would like to have 2 lines after clicking this button: old one and new one. and when i have got in button: private void button1_Click(object sender, EventArgs e) { x = x + 50; this.Refresh(); } i can hit it as many times as i wan,t and all lines will still remain in form even if i call this.Refres ...Show All
SQL Server Problem in merging Data
Hello, i have a database which is subscrribed into two databases. It is subscribed to one database throught a PUSH SUBSCRIPTION and it is subscribed to another with PULL SUBSCRIPTION. The problem is that it is correctly syncronized with PUSH SUBSCRIPTION publication but it does not merge data correctly to PULL PUBLICATION. When i try to run Merge Agent from subscriber it gives me following error: Retrieving publication information Retrieving subscription information The specified subscription type is invalid. Category:NULL Source: Merge Process Number: -2147201020 Message: The specified subscription type is invalid. P.S : When i run Merge Agent from EM, it says, " No Data to be merged " Regards, ...Show All
SQL Server SSIS Excel export with 64-bit version
I have a problem, and I'm fairly sure I know what the answer is going to be, but I'll ask it anyhow. I have a database which I switched over to SQL 2005 last year, and in the process converted all the DTS packages I had to import the data over to SSIS. We have several reports that we generate to Excel files, and I attempted to migrate these over also, but they would never run in production. Worked fine in when I developed the packages, but nothing I did would make them run in production, so I droped back and punted by modifying the DTS packages to point to the new database. Everything works fine that way, but we want to retire the old SQL box. When I started digging into the problem by running the package from the dev platform on the ...Show All
Software Development for Windows Vista Controlling Audio Output Levels
Hello, I've been trying to learn the new Audio APIs in Vista and can't seem to find a way to control the levels of various input devices through the APIs (EndpointVolume,DeviceTopology). If I open the Sound panel->Playback tab->Speakers->Properties->Levels tab, I can see the master volume level, mute, and balance controls, which I can programatically effect using EndpointVolume API. Below that however, I have the same controls for Line In, Microphone, and CD Player that control the level of output to the speakers comming from these inputs. These are the controls I'm trying to effect from the API, but cannot seem to get to. Any advice on this would be greatly appreciated. Thanks, Scott ...Show All
Visual Basic assigning substring to a variable. String.Remove method .
Hi i try assigning a substring to a variable " strRemarks = ScmSplit(21).Substring(10, 25)" when debug i have the following errors "An unhandled exception of type 'System.ArgumentOutOfRangeException' occurred in mscorlib.dll Additional information: Index and length must refer to a location within the string." How to assign a substring to a variable or how can i remove the first 10 substring on a variable Hope anyone would clarify my question rgds vincent this is happening most likely because your string isn't long enough; here, you are asking to take a sub string of length 25 starting at position 10, meaning your string must have length at l ...Show All
SQL Server Creating new Notificatio services instance
When I try to create new Notification services instance, I am getting the following error message. "Notification services failed to open a connection to sql server". I have changed default connections to remote.But still I am getting same error.Please help me I am new to Notification services. ...Show All
Visual Studio 2008 (Pre-release) Custom binding Problem
Hi I am currently using the following custom binding settings. it uses server username and password to authenticate the client. Is it possible to plug in my own username password validator < customBinding > < binding name = " UserNameBinding " > < security authenticationMode = " UserNameForCertificate " keyEntropyMode = " ServerEntropy " > </ security > < httpTransport /> </ binding > </ customBinding > Regards Raguvind Hello: See http://msdn2.microsoft.com/en-us/library/aa702565.aspx Hope it helps Pedro Felix ...Show All
Windows Forms How do I incorporate the Auto-indent feature in TextBox?
Okay, I want to make a very simple code editor without having to do much work. The TextBox was doing fine, until I realized I just couldn't do without the Auto-indent feature. Maybe not as advanced as our VC# editor, but atleast that which automatically inserts the indentation of the current line into the next line when I press Enter. Does anybody know if there is some kinda enable feature in the TextBox class Can anybody tell me a fastest way of doing this Dude, you could have just written the following three lines of code and you would've been much more helpful. After a little tinkering...I found the way to change the Lines string array myself. string[] lines = richTextBox1.Lines; lines.SetValue("This is the first line", ...Show All
Windows Forms Embedding Flash into a Form's Panel
I'm using Visual Basic in Visual Studio 2005. Does anyone know how to embed a Flash file into a form panel The Flash file can be .exe, .http, .swf, (also I think .jpeg or .gif) Thanks ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Build for Xbox 360 and Windows in one project
I have created a Visual Studio project template that can be built for either Xbox 360 or Windows, by selecting the correct platform in the VS IDE. There's nothing particularly clever about this, it just uses some of the conditional abilities of MSBuild projects to merge the properties of an Xbox 360 XNA project with a Windows XNA project. There's a slight problem though - the VS Express C# IDE has, by default, disabled the build configuration and platform settings to present a simpler interface to beginners. In order to use this project template you need to re-enable these features and should probably have a reasonable understanding of what they do. This could be the reason that the XNA devs have mentioned that building for both platforms ...Show All
