Answer Questions
Fábio How do i define where to put form (on screen) when it is opened ?
I have button on my form1 which open's form2, but the problem is, that whenever i open form2 it always opens just ON my form1 and i have to drag it somewhere of to be able to see information on form1 while operating in form2 1) How do i specify exact location on screen where i want my form to be opened. 2) I want my form to be opened exactly near my form1 .. so that form 1 right border is coincident with form2 left border. Is it possib ...Show All
Serge Bollaerts Using a Timer
Hello, Here's my problem, i'll write it in text code: now time = 18.00 turn on alarm = 20:00 start_program(); check_time() if (now time = time to turn on alarm) --> turn on alarm else if(now time = 30min to turn on alarm) --> make a sound else if(now time = 15min to turn on alarm) --> make a sound else if(now time = 5 min to turn on alarm) --> make a sound So I kind of want a timer that know what time it is, so when its ...Show All
Anlino How to Play Sound in Windows Application?
Hi everybody, Is anybody knows how to play sound (*.wav) files in windows application I tried using Microsoft media Player it works but the DLLs are huge. Is there othe way to do this Thanks. denpsia Hi, Try this: http://dotnet.org.za/deon/articles/3057.aspx Regards, -chris http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=83764&SiteID=1 Thanks, Karen, Daniel and Chris. Karen an ...Show All
PhillCloke how does Windows do it?
I had a couple of general questions about Windows. If I am posting in the wrong area, please let me know where to ask: 1. When I plug in a digital camera (that does not mount as a drive) and open up the Windows explorer, I can delete images from the camera in Windows XP. How would I do this in code 2. Same question, but for Windows 2000 I know it can be done because Windows does it through a UI, but how is it done in code My ultimate goal is t ...Show All
Andrei Romanenko Operation must use an updateable query
I had created a windows application. The application will pull data and insert to an access database. But while running the application half way through, it will gives me the above error message "Operation must use an updateable query" I had read through some of the forum, most of them mentioned that it is due to permission settings and they are using asp. But I had check my table permission. It is read and write. Moreover ...Show All
Fermo Vignetti EXPERT ADVICE needed on an idea of mine
This is the second time I've posted this thread. Since it got deleted it probably meant that the following suggestion is completely impossible. Anyway... I have little experience with the actual internal goings on of a PC. I've built a few in my time but the specific functions are a mystery to me. It seems that the optional harware in PCs (gfx/sound cards) are there simply to process inputted information then convert it into some kind of outp ...Show All
lucius153 Write to C# Immediate window in 2005
How do we write to the immediate window from the code window. Similar to "Debug.Print" in VB. Thank you, Paul Not Debug.WriteLine("X"); does nothing either. Here is the code I tested. private void button2_Click( object sender, EventArgs e) { StreamReader re = File .OpenText( "c:\\MyFile.txt" ); string input = null ; while ((input = re.Read ...Show All
J Mac M How do I add annotations to an existing PDF file?
Hey howzit, I have been searching the net for ways to adding annotations (sticky notes) to PDF files programmatically, I have found one library on sourceforge.net called ITextSharp, but it creates a new PDF file (see code below) and then allows one to add annotations, I want to add annotations to an existing PDF file that is already filled with data and text. // step 1: creation of a document-object iTextSharp. ...Show All
Lakshmi Padala what is the default replacement for an input byte sequence that cannot be decoded?
When using StreamReader to read a japanese file, I found that some input byte sequence that cannot be decoded are converted to some code else. for example shift-jis: EC7D , EC59 are converted to unicode: 0x30FB ( ,shift-jis: 8145) 8790 is converted to unicode: 0x2252 (≒, shift-jis:81E0) my questions are 1. What is the converting rule for byte sequence that cannot be decoded Why they are converted to different code 2. I ...Show All
AReSGodOfWar How can I make a program run when windows start?
Hi, I just have this simple question to ask about "How can I make a program run when windows start ", and i wish to find answer Regards 22DoorsDown Hi 22DoorsDown, Just write a windows service. thats it. u can enable ur service to startup when the windows starts up. this is the ideal one. regards, sundararajan.s -You can make the program to run when windows start by placing the shortcut of ...Show All
Matt Rudder Network like vb.net in c#
using .NetFramework2.0 in vb.net there is a method call My .Computer.Network, in the System.Net i want to know how can i use somthing like thesein c# , for example: Dim ficDest As String = "C:\son of a p.swf" My .Computer.Network.DownloadFile( "http://img51.imageshack.us/my.php loc=img51&image=48-196510_Son_of_a_P.swf" , ficDest) // this will download a file from a server thanks to all, xinpis@hotmail.com ...Show All
WISDOM Why are the properties in an auto-generated resource file wrapper always "internal"?
Hi! When I add a resource file to my project the IDE automatically generates a class wrapper. However, all properties are "internal", so there is no way to access the resources from outside the assembly. Is there a way to change the modifiers to "public" The idea is to create a seperate library that contains images for all our projects. How can I achieve this Thanks for your help. Jurgen Jurgen, Check out th ...Show All
Neyver Plug-in support with iHD?
I noticed in the HD DVD Programming Guide included with the Microsoft HD DVD Interactivity Jumpstart that there's an <object> tag in the scripting API. Where can I find more information about this tag I'm curious to see if 3rd party plug-ins/extensions will ever be a possibility with iHD, such as Flash Player. Unless you had a Java-based plugin approach which would work across varying CPU's and operating systems. Oh, wait - wrong fo ...Show All
Ben666 Translating exceptions from C++ to .NET
Hello, Using IJW technology, I have a .NET program on top of a C++ code. A C++ exception (derived from std::exception) is thrown in the C++ part. In the managed part, I get a SEH exception, but can't find any way to get the additionnal information (the what() string, or the real type of the exception, runtime_error, bad_alloc...). Is there any way to get this information Best regards, If you just n ...Show All
Konstantin Kamanin C# Syntax
Hi, Does anyone know of the C# alternative to VB.NET 'with' syntax ie VB.NET... with obj_Widget .name = "widget1" .height = 10 .width = 20 end with instead of C#... obj_Widget.name = "widget1"; obj_Widget.height = 10; obj_Widget.width = 20; 'With' appears more compact and concise considering long object names (with full namespace declaration). Thanks Richard White ...Show All
