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

Software Development Network >> M Thomas's Q&A profile

M Thomas

Member List

Beast Forever
Peter Mackay
Ashish Saxena
jmass17
Jim Perry
ManishDotnet
GaryMcC
Megalithic
Jacky Yau
Lucas Pasquali
Yongjun.Wu
Asterisc
Gage
Martimus
xavito
Jason D. Camp
ddogg
Jamie Thomson
Kestutis
n8 g
Only Title

M Thomas's Q&A profile

  • Visual Basic Embed Flash (swf) to Visual Basic 2005

    Hi, i saw in of the post thread regarding embed flash to VS 2005. It was suggested that use the webBroswer control...and to embed flash in html I would like to know 1) how do i find WebBroswer control 2) And the coding to embed flash to html is it : <object width = "550" height = "400"> <param name = "movie" value = "filename.swf"> <embed src = "filename.swf width = "550" height = "400"> </embed> </object> 3) when do i use the webbroswer.navigate("C:\file.html") Thankz.. the webbrowser control is in .NET 2.0 (VS 2005) - it is in your toolbox. In addition you could create one progra ...Show All

  • Windows Forms C# show new form vs vb way

    This is just a question. Why can C# not show a form as easy as vb. Form1.show(); instead we have to create a variable for it, etc.. Form1 Form1 = new Form1(); Form1.Show(); The same goes with calling another class, etc. What I always have to do is I create a blank class then set public variables in it. and from my other forms I always have to do this. Classcreated.variablename in vb is just knows when I type variablename that it is coming from the class I placed it in. I was just curious why C# acts like this and if there is an advantage to this or not. I was asked the other day that if c# required so many extra steps (most small) then why not just vb.net and I really could answer as a C# programm ...Show All

  • Visual Studio Express Editions how to open another windows form ??

    First off want to say hi to everyone as i am new to the forums and also c#. I will try to explain what i am doing so that i can get help, and just to let you know that yes i have tried looking through the C# express help file and still can not find what i am looking for. Ok, here it goes... I have my standard windows form (the main one called Planner.cs), and i created a 2nd windows form (called NewEvent.cs). What i am trying to do is make a button so that when it is clicked it will open the NewEvent.cs Form so they can fill it out. "Then my next step will be trying to figure out how to get it to save to the database." but any help on my question is appreciated thank you. Actually ...Show All

  • SharePoint Products and Technologies Integration of web app to Sharepoint Portal 2007

    Hi, I am wondering if it is possible to integrate an existing web application into Microsoft Sharepoint Portal. The application could be in the form of an opensource cms or web digital assets management (images/documents/videos) application in J2EE, php running Oracle/MySQL. If yes, what are the factors that have to be considered How can i do it Any links, resources would be great. If not possible, pls explain as well. Thanks a million! Hi, I need this application to be available via sharepoint to all users. Preferably running on a different server and also accessing sharepoint data from the custom app. Possible How Thanks ...Show All

  • Visual Studio 2008 (Pre-release) listbox binding issue

    I have a template for a class in which I have the following XAML <Setter.Value> <ControlTemplate TargetType="{x:Type local:P1}"> . . . <StackPanel Grid.Row="1" Grid.Column="2"> <ListBox ItemTemplate="{StaticResource dtc}" ItemsSource="{Binding RelativeSource={RelativeSource TemplatedParent}, Path= AcrossClues}"></ListBox> <Expander Header="Across" > <ListBox Height="150" ItemTemplate="{StaticResource dtc}" ItemsSource="{Binding RelativeSource={RelativeSource TemplatedParent}, Path= AcrossClues}"></ListBox> </Expander> </StackPanel> . . . </ControlTemplate> the lis ...Show All

  • SQL Server What is the best way to copy database?

    I want to copy database (offline) to another machine. I can generate SQL script for table structure and stored procedures. But how can I easily copy data As far as I know, 1. Detach and attach is not 100% working if I copy the another machine with different version of SQL Server 2. Restore and backup is for the same machine 3. DTS is for online copying only Please help me. Thank you. Hi, assuming you mean as target system 2005: "Detach and attach is not 100% working if I copy the another machine with different version of SQL Server" Thats true regarding version jumps from 7.0 to 2005. Thats the most easy way for doing *cold*/offline backups, but it is restricted to either the same or the prior versio ...Show All

  • .NET Development Remoting in vb2005

    Ive been trying to figure out this remoting from a lot of articles, and i still can figure it out very well.. So my question is, if there is someone who would make this example for my, so that i have something to play with: In vb2005 i want to make 2 applications. The first application has a textbox and a button. The second application has only a textbox When you build these 2 programs and run them together, this is what they should do: You put some text in the textbox in the first application. When you press the button the text in the textbox will be displayed in the second applications textbox. Sort of like MSN but only with this "simple" example.. Can anybody write the code for the 2 applications so i can ge ...Show All

  • .NET Development Windows Services and COM interop

    Here is what I am trying to do: I have a very simple test DLL that has one operation called 'Get_Stuff(String)' this simply returns a string with some hard coded text. This works fine if I create a windows app in VB and then call the operation on the DLL, so I know the code is right. However, if I create a Windows service (again in VB) and use the same code I get an error. I've set the service to run under my login rather than local system because the DLL needs to access network drives. The error I get is:  Error: 429, Cannot create ActiveX component. As I say, identical code works fine as a normal windows app so does anyone know what is going on here As I understand it the service will still be running in a dif ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. The Unofficial "Hooray I'm Done With my DBP Game" Thread

    When you get done with you game and sumbit it, crow about it here. A little over 24 hours left until the deadline and I'm so amazed I'm done, so much better than college Thanks to ZMan for his help, good luck all. I'll post the source code for my submission once the deadline hits. Bill Dan Lingman wrote: The quote about adding people to a late project will make it later is very true. I'd started with a team size of three - Me, my wife, and my 3.5 year old playtester, Katrina. Feb 27th we added a new team member - Naomi. Yeah I had a team very similar to that, my 8 year old daughter was my main playtester and my wife was the "novice gamer" to make sure it wasn't ridiculously hard. By new team me ...Show All

  • Visual Studio Problems with DSL Tools Version 1

    Hello I recently installed Visual Studio SDK September 06 which includes DSL Tools V1. The new features are really great and I was stunned what progress was made since the last version. But now I encountered two problems. A small one and a bigger one. Let's start with the bigger one: I created an language called ETDL. In the Debugging solution, when I create a new ETDL file, I'm able to open it in the designer and add shapes and connectors and stuff. But then, when I close the file and reopen it, I get an error saying "Cannot load xxx.etdl: An item with the same key has already been added." or the file is opened in the designer but the location of all shapes weren't saved. The second problem is a small one. I added some element ...Show All

  • Visual Studio Team System Adding New Folder with Rename

    I recently added a new folder to a team project using the 'New Folder' toolbar button in SCE. It added the new folder named 'New Folder' and I then used the context menu's 'Rename' item to rename it 'ApplicationImport'. I then added two files to the folder in preparing for checking in my pending changes. All appeared ok until I started using the Pending Changes window to checkin.  I added some comments and clicked 'Check In' and immediately got an error that there were pending changes that wheren't listed and I need to refresh my Pending Changes view before 'Check In'. I did so and now the Pending Changes window shows the 'New Folder' instead of my 'ApplicationImport' folder. In the SCE view I still see my 'ApplicationImport' folder w ...Show All

  • SQL Server Merge Join vs. Lookup vs. Custom Script - which is fastest?

    Very often we have 50'000+ rows which you need to pull values from different source (e.g. CityNames from citycode in Excel file). Currently we are using Lookup - but the questions is which of those 3 options is best in performance wise TheViewMaster wrote: Thanks guys for your answers - I will try it out performance testing this weekend on my free time. So far it has seemed to me merge join is slower than lookup, however, lookup seems to take much longer than i like it to - so i was wondering if creating a script transform would be better solution... Just wanted to get an idea - based on you experience which option do you use OK. Well I am loath to give my opinions on performance comparisons but I'd lay alot of money to ...Show All

  • Visual Studio 2008 (Pre-release) Release build of .NET 3.0 has broken my application publishing

    Before uninstalling September beta version of WPF I was able to publish my application. Now, with the release version of WPF, after a complete rebuild, I get the following error when I try to publish the application: Error 2 SignTool reported an error 'Failed to sign .\bin\Release\MySample.publish\\setup.exe. SignTool Error: Signtool requires CAPICOM version 2.1.0.1 or higher. Please copy the latest version of CAPICOM.dll into the directory that contains SignTool.exe. If CAPICOM.dll exists, you may not have proper permissions to install CAPICOM. CAPICOM.dll does exist and its version is 2.1.0.2 (10/30/2006). Just in case, I manually registered the dll with regsvr32 but it made no difference. Does anybody know why this is ha ...Show All

  • Windows Forms Hi, How to install app to All Users folder using Click Once?

    Hi all. I want my app is installed on a machine and shared by all users like MS Word. However, click once install on current user's local setting folder. I want to install on All Users's local setting folder. Or, if application shortcut on Start menu appears on all user, it's ok. Is it possible Then how to do it And, is there a way to put app shortcut on desktop Thank you. ClickOnce is not designed to install to a shared location like Program Files. Once of the goals of ClickOnce is to provide a way for non-impactful installs, which means no installing to the Program Files folder. If installing the application for All Users and providing a desktop shortcut are important, you may want to look into using an msi to ins ...Show All

  • Visual Basic Colour Combo Box

    Hi, How do i get a combo box to display system colours As i am using it so the user can select the background colour for a graph. I have tried colourcb.text = color() but this produces an error any ideas Andy nogChoco, As i am rubbish at vb (new and all) How would i make your code eqal my colourcbo As in: i created your project and it displays three combo box's all i need is to produce the result you get in the combobox at the bottom (that displays aliceblue) in my colourcbo ( and be able to make selected colour variable equal to the selsect colour. By the way, very nice code Many Thanks, Andy ...Show All

©2008 Software Development Network