For those new to message boards please try to follow a few simple rules when posting your question.
Choose the correct forum for your message. Posting a VB.NET question in the C++ forum will end in tears.
Be specific! Don't ask "can someone send me the code to create an application that does 'X'. Pinpoint exactly what it is you need help with.
Keep the subject line brief, but descriptive. eg "File Serialization problem"
Keep the question as brief as possible. If you have to include code, include the smallest snippet of code you can.
Be careful when including code that you haven't made a typo. Typing mistakes can become the focal point instead of the actual question you asked.
Do not remove or empty a message if others have replied. Keep the thread intact and available for others to search and read. If your problem was answered then edit your message and add "[Solved]" to the subject line of the original post, and cast an approval vote to the one or several answers that really helped you.
If you are posting source code with your question, place it inside <pre></pre> tags. We advise you also check the "Encode "<" (and other HTML) characters when pasting" checkbox before pasting anything inside the PRE block, and make sure "Use HTML in this post" check box is checked.
Be courteous and DON'T SHOUT. Everyone here helps because they enjoy helping others, not because it's their job.
Please do not post links to your question into an unrelated forum such as the lounge. It will be deleted. Likewise, do not post the same question in more than one forum.
Do not be abusive, offensive, inappropriate or harass anyone on the boards. Doing so will get you kicked off and banned. Play nice.
If you have a school or university assignment, assume that your teacher or lecturer is also reading these forums.
No advertising or soliciting.
We reserve the right to move your posts to a more appropriate forum or to delete anything deemed inappropriate or illegal.
Hi guys. I have created a form where I included a tabcontrol. In this object I have an tabpage where I inserted multiple data as labels, textboxes, checkboxes and its format is as a contract. Well, I want to print this tabpage or to create a pdf file only with that tabpage. I managed to create a print and a print view with some functions that I found on other sources, but it doesn't create new pages when I print the form. I have created an OXPS file and the result is not the best. I mean, it creates only one page which includes all tabpage content, but the content is large so it would be needed more pages (A4 format). This is the source code:
I've been working on some C++/CLI 'glue' code to make it easier for C# devs to write plugins for ToDoList[^] (just importers/exporters for now because they're the simplest).
Now I need a C# guinea-pig to create a useful importer or exporter that can be included with 7.1.
I could do it myself but that would not be nearly as worthwhile in exercising the 'glue'. I've also got a sample C# project that provides a bare-bones plugin so it's really about taking that and making it genuinely useful.
If this is a success we can then move on to writing a sample C# Task View plugin which will be much more exciting!
I have 3 servers that I wish to monitor through a Windows form and then display the RoundtripTime in 'ms' on a form in their corresponding labels.
Servers are Server1, Server2, Server3
Labels are Label1, Label2, Label3
Using the below code I am easily able to loop through these servers and output to console and even write to a single label only, but cannot figure out how to ping Server1, write to Label1; then Server2 to Label2 and so on...
Any advice would be much appreciated (I have // out the Console.Write lines, as these work, but are not what I want to achieve.
i moved to a new pc today , it has a 64 bit OS, win 7 proffesional, but icant get visual studios installed, i keep getting a error unsupported OS , but i had it installed on the other pc which also was a win 7 pro
We have some list of files to copy from a ftp server. Sometimes the file in the source folder have files arrived on same date but @ different time
and I would like to copy only latest file for each date. Ex:
There is no "simple" built-in way to do that.
You will have to read all the file names, and group them by name and date. You can then easily sort the times.
I'd suggest using a regex to "split" the file name from the date and time, then using Linq to group the values.
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
var directory = new DirectoryInfo(@"F:\Root\");
var files = from f in directory.EnumerateFiles("*.dat")
group f by f.Name.Substring(0, 21) into g
foreach (var file in files)
Hello everyone. I want to develop a small application in Windows Form Application using VS Community 2015. I need to create some forms and then export them in a pdf file for printing. The problem is that I have to create the form to fit exactly in a A4 paper width and height. What tools do you recommand me to use or which do you think is the best approach?
Last Visit: 31-Dec-99 18:00 Last Update: 30-Jul-15 3:00