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

Software Development Network >> S Carter's Q&A profile

S Carter

Member List

patria
clint 2
mamo
bakintunde
ijrr
Alexander_Monday
Rémi P.
Flame Thrower
Terry7
RufusLDK
IGiberson
Ronaldlee Ejalu
Peter Haik
Irina777
RayCan
JRQ
Pascal Mignot
kundalani
retread
Cody21
Only Title

S Carter's Q&A profile

  • Visual C# Some help please

    I have figured out how to open webpages, but, if on the button click you open a webpage, say www.google.com. But, if you have a textbot on the program, and on the button click you want www.google.com/i-typed-this-in-the-textbot, how would you go about coding that Thanks Hello your post is a bit ambiguous to me. If you want to display the URL in a textbox: MyTextBox.Text = @"http://www.google.com"; If you want to launch the default browser with the URL from the textbox Process.Start(MyTextBox.Text);//Provided that the text is a valid URL If I missed something, please clarify it. Regards ...Show All

  • Visual C++ Reading delimited data files using ifstream and getline? (sample erroneous code included)

    Hey guys! I have a question about reading delimited text files. I have a file in the following format delimited by space: JAMES SMITH 0 6 7 14 0 9 4 18 BARBARA WILSON 7 6 12 2 1 16 18 15 JENNIFER THOMAS 11 4 7 19 15 14 MARY JOHNSON 1 0 JOHN WILLIAMS 2 5 4 5 5 1 7 The problem is that my code doesn't read all lines. For instance, the file that i'm reading contains 450 entries, while the code will only process half of that. The others are just skipped. The Code i'm using is provided bellow: enum stdColumn { stdFirstName = 0, stdLastName = 1, stdStudentID = 2, stdNumOfCourses = 3, stdCourse1 = 4, stdCourse2 = 5, stdCourse3 = 6, stdCourse4 = 7, stdCourse5 = 8, stdCourse6 = 9 }; int stdLoadData( ...Show All

  • SQL Server Invalid Column Error - Any ideas

    Hi, Can anybody point me why I get the error "Invalid Column Name - emp" error. Thanks. Table structures are: Tree create table tree (emp Char(10) Not Null, Boss Char(10)); Stack CREATE TABLE Stack (Stack_top INTEGER Not Null, emp Char(10) Not Null, Lft Integer NOT NULL UNIQUE CHECK (Lft > 0), Rgt Integer NOT NULL UNIQUE CHECK (Rgt > 1)); I am trying to convert the Tree (Adjancency Model) to Stack(Nested Model). CODE BEGIN DECLARE @lft_rgt INTEGER, @stack_pointer INTEGER, @max_lft_rgt INTEGER; SET @max_lft_rgt = 2 * (SELECT COUNT(*) FROM Tree); INSERT INTO Stack SELECT 1, emp, 1, @max_lft_rgt FROM Tree WHERE boss IS NULL; SET @lft_rgt = 2; SET @stack_pointer = 1; DELETE FROM Tree WHERE boss IS NULL; ...Show All

  • SQL Server How to copy a DB, with T-SQL?

    Good afternoon. How, with T-SQL, to copy a database under other name (i.e. the DB - bd1 should be copied it in bd2. Business occurs on one server MS SQL 2005) But to copy, so that transferred all procedures, triggers, ... . Thanks! backup database bd1 to disk = 'c:\bd1.bak' go restore database bd2 from disk = 'c:\bd1.bak' move '<data filename>' to 'c:\somenewfolder\bd2.mdf' , move '<log filename>' to 'c:\somenewfolder\bd2.ldf' go ...Show All

  • Visual Basic Full Text Search in Visual Basic

    I am trying to create a simple full-text search application in Visual Basic (2005 Professional trial version). I have been successful in doing full-text searches within SQL Server Management Studio using SQL queries, so the database has a working catalog, index, etc. Here is a sample SQL query statement that I have used in SQL Server Management Studio: SELECT SectionText FROM Full_Documents WHERE CONTAINS (SectionText, ' "radio" '); This query returned all the rows containing the word “radio” within the SectionText column of the Full_Documents table. I have placed a textbox (SearchTextBox), button, and listbox on a form in VB. I want to be able to type a word in the textbox, clic ...Show All

  • Visual C# using SHObjectProperties?

    How to use the SHObjectProperties in .net please help with an example please help Declare it as an extern method with the DllImport attribute. Then call it pretty much like any other method. I think something like this should work [DllImport("shell32.dll", CharSet=CharSet.Unicode)] static extern bool SHObjectProperties(IntPtr hwnd, uint dwType, string szObject, string szPage); ...Show All

  • SQL Server Connection woos

    Just the other day I have not been able to connect to SQL Server 2005 Express Edition. NOTHING has changed. All I have noticed is that in the Surface Area Configurator the Local Connections only radio button it selected. So I try selecting the Remote radio button and Apply and Ok and then exit the Surface Area Configurator program and then come back in again and the Local Only is selected. Is this normal behavior Is Remote connections allowed or not How verify Thanks. I installed the MS SSEUtil program. 'sseutil - listsrv' command *without quotes' doesn't show any server running. lolol Yet my program can access the database using the 'computername and instance name'. Any ideas Could a sy ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. MDX/C# GDI+'s ColorMatrix equavilent to Pixel Shader 2.0's... ?

    Hi. Would it be possible to transform colors with Pixel Shader 2.0 similar to GDI+ with C# This is to say that if I have 2 images -- day and night image, which I blend from one image to another, which I can do that with GDI+'s ColorMatrix class. But as resolution gets bigger, so will the GDI+ that will have to redraw at a slower rate, such as a resolution of 1920x1080. Direct3D (and the depricated DirectDraw) are faster than GDI+, so I wanted to take into account with the use of Pixel Shader 2.0 (or maybe 1.1) for smooth rendering. Just to let you know in case you'd might ask, I'm building a multi-media application--probably with DirectShow.net but I'd probably make use of new Vista's video technology for digital TV tuner but I bet i ...Show All

  • Visual Studio Team System Build Fails with errors: TF30063: You are not authorized to access Microsoft-IIS/6.0

    I am trying to make build with Team Foundation Build Service, but receive a lot of errors, which occure during " getting sources " build step: TF30063: You are not authorized to access Microsoft-IIS/6.0 . Somehow source files are successfully received, but not built, because of build system doesn't want to proceed with mentioned errors. I was looking for problem description on this forum and found a similar topic " TF30063: You are not authorized to access Microsoft-IIS/6.0. " (https://forums.microsoft.com/MSDN/ShowPost.aspx PostID=105035&SiteID=1). Seems that this problem was solved, but there is no answer how to fix it. Could you please help me to fix this problem Glad you fixed it. I usually neve ...Show All

  • Software Development for Windows Vista Which WF version to use with examples ?

    I'm trying to explore the State Machine examples ansd tutorials, particularly where SQL tracking and persistence is used. I don't seem to be able to find a set of matching/working framework, samples and tutorials. I'm hoping someone out there has a good idea on which version of WF (e.g. beta 1, beta 2_2, RC1) is most stable with the State Machine, SQL Tracking and Persistence examples (and where to get those matching samples & tutorials from). Thanks in advance, Richard If you are just starting out with WF you should be working with the latest release, which is RC2. Links for downloading it can be found here along with the matching Hands on Labs. Help for WF can be found online here and ...Show All

  • Software Development for Windows Vista Where do I get mt.exe?

    Where do I get mt.exe to join EXE and MANIFEST I have looked in my C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\Bin directory and found nothing... Its present at multiple location C:\Program Files\Microsoft Visual Studio 8\VC\bin C:\Program Files\Microsoft Visual Studio 8\Common7\Tools\Bin C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\Bin Surprisingly you are not finding at your mentioned location.. Regards, Vikash ...Show All

  • Windows Forms How to remove the DOS window when I execute my C# project

    Hi, I would like to know if there is a way to avoid the DOS window appearing when I execute my C# project (it appears in both cases: when I launch the project from Visual Studio, clicking on Debug -> Start Debug, and when I double click on the .exe file in the bin/Debug or bin/Release subfolder). I create my project in this way (I use Visual Studio 2005 Professional Edition): File -> New -> Project In the "New Project" window I select Visual C# - Windows as Project type, and Empty project as Installed Visual Studio Model). Must I select some other project type/model Must I change some type of setting in the inner of the project Thank you very much Hmm, very odd. Your project ...Show All

  • Visual C++ problem with /arch:sse2 on AMD

    hello i work with VC++ 2005 on an AMD 3500+ venice processor although the cpu support SSE2, compiling with the option /arch:sse2 yields a much slower code then the regular release build without this option. any ideas 10x, eyal. /arch:SSE2 doesn't generate only SSE2 instructions but rather a mix of x87 & SEE2. There could be some cases where the code might be slower (although in general, it should be faster). If you think that such degradation in performance is unacceptable, please log the issue at http://connect.microsoft.com/Main/content/content.aspx ContentID=2220 with a sample reproducing the problem. Thanks, Ayman Shoukry VC++ Team ...Show All

  • SharePoint Products and Technologies Infopath xsd and sharepoint workflow serialization problem

    I have a simple form that I am using for Association in my workflow. The form works fine and I can associate my workflow to the document library. The problem comes in when I try to use the form data in my workflow. I am using the following code to import the form data into the AssociationData class. I exported the form code, ran "xsd.exe /c /l:vb mychema.xsd" which generated the appropriate class. I am using the following code to generate my class from the form data (extra lines removed for readability): Public Class PurchaseReqWorkflow Public workflowProperties As SPWorkflowActivationProperties = New Microsoft.SharePoint.Workflow.SPWorkflowActivationProperties Public assocData As New AssociationData() Private Sub codeA ...Show All

  • Visual Studio Express Editions Web Browser Help

    Hi, I'm trying to add alot of stuff to my web browser. I searched in google, but I didn't find anything. I tryed writting codes to see if I can get it, but I can't get it :( 1. Favorites 2. View Text Size 3. Web Browser site Name something like this (Visual Basic General - MSDN Forums - Mozilla Firefox) 4. History 5. Enter button when you type in the URL 6. Show the URl in the URL bar for every link. And I'll try to figure out the rest, because I have alot of stuff that I want to learn, but I think it's rude to ask for too much. Thanks. Let's do this one or two at a time. If you are making a Favorites List in your Web Browser, you have several options. For something simple, you can use a Listbox to hol ...Show All

©2008 Software Development Network