Software Development Network Logo
  • Visual Studio
  • IE Development
  • Smart Devicet
  • Visual C#
  • .NET Development
  • Visual Basic
  • SharePoint Products
  • SQL Server
  • Game Technologies
  • VS Team System
  • Visual FoxPro
  • Microsoft ISV
  • Windows Forms
  • Visual C++
  • Audio and Video

Software Development Network >> Tom25's Q&A profile

Tom25

Member List

Pure Krome
Spankmaster79
Kent Boogaart
Charlie Audritsh
Abhijit Jejurkar
Xelestial
Sachin Saxena
sunil_sg
Tall Dude
Ricardo Francisco
Mathew1972
KeithPhillips
Ahmet CAN
ved_30
mliesmons
mflexer
活靶子
chris441962
Mihir_Soni_bcdb9d
David d48701
Only Title

Tom25's Q&A profile

  • Visual C++ ComboBox that hides the arrow buton if only one element is in the list

    Hello! I need a ComboBox that hides the drop down button if only one or zero elements are in the list and acts/displays itself simply as a textbox. I thought of two ways to do that: 1. Create completely new user control with a textbox, button and listBox 2. Inherit from ComboBox and place a textbox in front of the whole combox if only one/zero element is in the list and hide that textbox if more are in it. For suggestion 1 I would feel like reinventing the wheel and for solution 2 I think it could become hard to think of any possible events, focus, colors,... that would need to be transfered to the textbox. Is there any cleaner solution for this I can't believe that this is a very uncommon wished behavior. Thanks f ...Show All

  • SQL Server Splitting PDF documents

    This may be a stupid question but I'll throw it out here, is it possible to use sql 2005 to split up pdf files into individual files by a field on the form or an index Thanks. ...Show All

  • Visual Studio Express Editions Printing from Rich Text Box

    How Can I setup rich text box to print using the printdialog... Also, how do i make the printpreview work... tried looking at this http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=805077&SiteID=1 http://msdn2.microsoft.com/en-us/library/system.windows.forms.printpreviewdialog.aspx examples are included :-) ...Show All

  • SQL Server Table join problem

    Hi CREATE TABLE [dbo].[Users]( [Id] [int] IDENTITY(1,1) NOT NULL, [UserName] [nvarchar](50) NULL ) ON [PRIMARY] INSERT INTO [dbo].[Users] VALUES('Unal') INSERT INTO [dbo].[Users] VALUES('Volkan') INSERT INTO [dbo].[Users] VALUES('Duygu') INSERT INTO [dbo].[Users] VALUES('Elif') INSERT INTO [dbo].[Users] VALUES('Mehmet') INSERT INTO [dbo].[Users] VALUES('Demir') CREATE TABLE [dbo].[Agenda]( [Id] [int] IDENTITY(1,1) NOT NULL, [ActivityName] [nvarchar](50) NULL, [UserId] [nvarchar](50) NULL ) ON [PRIMARY] INSERT INTO [dbo].[Agenda] VALUES('school excursion','1,3,4') INSERT INTO [dbo].[Agenda] VALUES('party','6,2,3,1') Table Name : Users Id UserName 1 Unal 2 Volkan 3 Duygu ...Show All

  • Visual C++ unresolved external symbol because of a further function

    Unfortunately I have one more problem, I have now the following: the header file: [code] #include <iostream> namespace main_savitch_2C { class statistician { public: void next(double r); private: bool operator ==(const statistician& s1, const statistician& s2) { return true; } [/code] and my testfile: [code] #include <iostream> // Provides cout, cin #include "stats.h" using namespace main_savitch_2C; using namespace std; int main(int argc, char* argv[]) { statistician s1, s2, s3; if (s1 == s2) cout << "s1 and s2 are equal." << endl; else cout << "s1 and s2 are not equal." << endl; } I know that the operator== function is not ...Show All

  • Gadgets Slideshow Flickr gadget: works both online/offline

    I would like to see a Flickr slideshow gadget that has two states, online and off. 1. When online a users would either a) have their widget log into their account and start streaming new/old/all photo's from 'favs', b) stream photo's from a select list of RSS feeds or c) stream photo's from desired tags 2. When offline (this happens a lot to laptop users) instead of the gadget remaining black it would seamlessly switch to HDD images streaming either: a) by folder or b) by tags I think this would be a solid gadget, anyone fancy making it. No of course I can't code, I'm just an ideas man. Ta, Samuel, UK ...Show All

  • Visual Studio Underwhelmed by Sandcastle

    I've noticed that the feedback on Sandcastle has been generally positive. Maybe I'm in a minority of one, but I felt I had to get this off my chest. <rant> Having initially dismissed the first Sandcastle release as immature, I've come back several months later to try out the December CTP. My requirements are, I believe, simple and mainstream. I want to generate documentation for a product consisting of a few class libraries and integrate it with VS2005 help. The document should be generated automatically as part of the build process. With .NET 1.1 and VS2003, this was easy to do with a batch file that calls NDocConsole, which in turn generates a configuration file for the easy-to-use H2Reg utility. I can then call H2Reg in a ...Show All

  • Visual Basic Startup Items? & Hiding / showing forms?

    Basicly I'am requesting this: How does one create a 2 forms that you can move back and forth from though each form your NOT using will hide, on top of this, how do I dispose of one form and then come back to the form as a new instance. My theory was that i use 3 classess two as forms and one as a main class, the main class controls the instances on what is shown and what is not, though im unable to adchieve this. Has anyone got some sample code that can help me out .... Please keep things simple and straight forwards im repeat im currently a rook at this language. Thank you. I just tryed what you said, with using showdialog, though it shows both the forms then when i close form2 it does not show the form1 and hangs as an i ...Show All

  • Software Development for Windows Vista Volume Shadow Copy Service SDK developing problem

    Hello! I have a problem when use the vss sdk developing. I want to validate the retore flow. So only use the follow steps: IVssBackupComponents::InitializeForRestore(); IVssBackupComponents::GatherWriterMetadata(); IVssBackupComponents::PreRestore(); I am sure the loading backup component document is right. and It is has not one componet. and insure can run the program. But when the program is running, It prompts me the PreRestore is error 80004001. What is my problem Thank you! ...Show All

  • Microsoft ISV Community Center Forums Adding data to the same workbook

    I have a macro that copy the content of the current worksheet to another "target" workbook. This works fine: n1 = ActiveWorkbook.Name Selection.Copy Workbooks.Add Template:="MyTemplate.xlt" Workbooks(Workbooks.Count).Activate n2 = ActiveWorkbook.Name ActiveSheet.Paste ' return to the source workbook Workbooks(n1).Activate Now, I would like to modify this macro so that if the user execute it more times from the same workbook, the content of the current sheet must be appended at the end of the same target n2 workbook, "collecting" all the contents. The questions I can't answer are.. 1 - How can I be sure to create the new target workbook only the first time the macro executes 2- How can I append the content at the en ...Show All

  • Visual Studio Team System View referencing other DBS trow an error during opening of the project.

    Hello, I have views in my Catalog database that reference other tables or views in Content DB. When I create a project, since all code is verified against the local SQL Express DB when the views are read in the verification takes palce and it states that it can't find the content DB. The only way to get around it is to intall dumy Content DB on the SQL express instance with objects that are refrenced in Catalog DB. For a DBA this is not a big deal but instructing 50 developers on how to do it and supporting changes to each of thair machines is a big deal. Is there anythig that can be done here There are two changes going in: one 3 and 4 part name references will turn in to warnings, instead or e ...Show All

  • Visual Basic Accessing Excel causes install program to run

    HELP... i have installed visual studio on a users computer, and the install went fine. but now when the user creates a program that accesses MS Excel via interop, the visual studio installer begins to run also. if the user just hits the cancel button on the installer, everything goes fine. if the installer is allowed to run, it comes up with some error "file not found" or whatever. how can i stop the installer program from executing everytime my user tries to access Excel from vb.net programs Thanks, Daniel deleting the users profile and then having them re-login seemed to do the trick. fyi, the application event log had the following information about this issue: Event Type: ...Show All

  • Visual C# New to programming, need help starting this program. Any suggestions??

    I had no trouble creating the form, but I don't know where to begin with the code. Any ideas "Piecework workers are paid by the piece. Workers who produce a greater quantity of output are often paid at a higher rate. Use text boxes to obtain the person's name and the number of pieces completed. Include a Calculate button to display the dollar amount earned. You will need a Summary button to display the total number of pieces, the total pay, and the average pay per person. A Clear button should clear the name and the number of pieces for the current employee and a Clear All button should clear the summary totals after confirming the operation with the user. Include validation to check for missing data. If the user clicks on the Ca ...Show All

  • Visual Studio Team System Can I Stop the Playback automatically if Test fails

    Hi, I have recorded a web application using webtest. On playing back, due to server error, a page shows "sorry for inconvienience, Please try again later". But schoked to see the test has PASS status and continue to run the next request. Kindly clarify what could have been Thanks - Vijay. If your site is redirecting to a friendly error page when an error occurs the http status codes returned will likely be 300's (for the redirects) and then 200 - OK on the error message page, which won't be seen as an error by playback. You could potentially use a Validation Rule (find text probably) to detect this, or generate a coded test and add a postrequest event handler to the request, another opt ...Show All

  • .NET Development Difference between 'string' ans 'String'

    Hi all, I am new to this forum. I have a basic doubt regarding the System.String class. Can anyone tell me what is the difference between "String" and "string". Thanks in advance.......... That's not true. varname is declared as type System.String and not string. string matches with System.String. It's important that people understand that both are exactly the same. In other languages, for example JAVA they are different! ...Show All

©2008 Software Development Network