stevejones76's Q&A profile
Windows Forms help for form
I don't know how to use "srand( (unsigned)time( NULL ) );" with the button and label~~~ thanks for help Buttons and Labels of .NET framework Then use the .NET equivalent of srand. srand function's equivalent in .NET framework is System.Random class. For more information about System.Random class, see here: http://msdn.microsoft.com/library/default.asp url=/library/en-us/cpref/html/frlrfsystemrandomclasstopic.asp Reg ...Show All
SQL Server How can I remove !new from the end of my report names?
This is shown in report manager (/reports) to indicate new reports. You can't remove it - it will go away automatically after 48 hours. -- Robert ...Show All
Visual Studio Team System Team Build appears to die mid-build
Are there any known issues with Team Build and C++/CLI projects I have a very simple WinForms application in C++/CLI in a team project, and I've configured a Team Build to build it. The Team Build service is installed on the dev machine, so I know there's a complete Visual Studio/SDK installation there. The build appears to actually build everything (Debug and Release builds), but the status in the builds window in VS never advances past ...Show All
Visual C++ Browse Info File in Visual Studio 2005
Hello All, I had Visual Studio 2005 installed, and created and built a Project, and the browse info file myapp.bsc is generated too. But where can I set this browse info file in the project It seems VC++8.0 is quite different than VC++6.0 in regards to browse info file, and I can not figure it out. Please help.. Thanks a lot, Melvine Browse information consists of two pieces: the sbr files (for each cpp file) ...Show All
Visual Basic Creation of a PDF file.
Hello, I'm building a program, and I need ot convert a lot of word documents to one pdf file. Does anyone know about a class library or a code that can do it Even if the code can only make one word document to a pdf and then merge the PDF files. Thanks, Ofir. you could concatenate all those word documents into one, then use adobe's pdf online creator ...Show All
Visual FoxPro Additional fields in table exported to txt
Hello, I need to output from a VFP 6 table to a text file. When I use "copy to mytext.txt delimited with ," I get an additional field before and after each of the original fields from the table. This means that in my new text file, fields 1,3,4,6,7,9,10,12,13 etc are empty fields that were not present in the table and fields 2,5,8,11,14 etc are the fields with data. Can anyone tell me how to avoid these "extra" field ...Show All
Software Development for Windows Vista InsertTrackingProfile doesnt seem to exist
I am trying to get a basic tracking profile created and installed. The problem is that the online docs have a CreateAndInsertTrackingProfile() that wont compile. The Insert...... seems to be undefined. Anyone know what I am not referencing or where I am going wrong Thanks Are you trying to add a new tracking profile or update an existing tracking profile in the SqlTrackingService If so you should use the stored procedure UpdateTracking ...Show All
Windows Forms I have captured a big ugly bug ! Where is the best place to report it ?
I have found a very interesting bug related to .NET Windows Forms. I have the minimum source code that reproduces the bug but I don't know where to post it. Anybody has a good suggestion Thanks in advance, Roberto Santos. ...Show All
Smart Device Development Winsock and timeout under WM5
Hi everyone, My application connects to a server using GPRS. Since the application is running in the backgroung, I want to ensure that whenever the user presses the red key (stopping GPRS connection), the appli connects again. I could achieve that but the thing is that now, my server is asked to reply as late as possible (to minimize GPRS traffic). When a request is sent, the appli is waiting for an answer, if I press red button at that time, th ...Show All
Visual Basic TextBox focus on form load
How to focus TextBox after form is shown I try with textbox.focus() in load, activated and visiblechanged event but with no success. Thanks buddy control.select() is working. The else case is a built in prob in .Net ...Show All
.NET Development GDI+ nearest neighbor
Hello, I am making an image pixel editor. I need to zoom in and out of the bitmap, so I am scaling, with the Graphics class, the bitmap. Some Code: yay! Got it working. Just for the record, I put the PixelOffsetMode to PixelOffsetMode.Half and it worked! ...Show All
Visual Basic Loading and gathering information from a text document
I am currently producing a program for myself and i need to know how to gather and put loaded text information into a table and allow searching ect, i will clarify with pictures. Please be patient with me because i am a novice. given the following text [item 1] name=Welcome Note description=Welcome to the world of Darkness. class=12 reqlevel=1 quality=1 bonding=4 classes=0000 //All Classes model=5567 level=1 races=0000 //A ...Show All
Windows Forms Custom color collection
Hi Everyone, Is it possible to override\expand the color collections list in the designer. Currently selecting BackColor property displays a control of 3 tabs "Custom", "Web" and "System." Is it possible add an additional tab by creating a component that will provide the developer with a restrictive, defined list or colors to be used for application development. Having created a static serializable ...Show All
SQL Server Very strange problem about "predict probility" in Microsoft Clustering algorithm
Hi, all here, I found a very strange problem in my data case using Microsoft Clustering algorithm. The problem is: while with the increasing of the population percentage to 100 % , the target polulation is up to 100% as well ( in my data case) , however the predict probability decreased to 0% ! What dose the 0% predict probability means here So, what is the problem then Any guidance is much appreciated. Thanks a lot ...Show All
Visual Studio DTE2 interface returns 1.0 interfaces?
Why does the DTE2 interface properties and events return the 1.0 types rather than the 2.0 types if available I'd expect that the 2.0 versions of the interfaces to be returned rather than needing to cast them everywhere. --Oren Sure, I can add this to a topic in our automation documentation. Thanks for the input! -Kemp ...Show All
