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

Software Development Network >> Jack Tripper's Q&A profile

Jack Tripper

Member List

George Waters
cwest
Michael Drüing
Codereaver
Chris Jiang
KevinBurton
Niksta
Nate Garvey
Greenies
we3dyz
Alainna
merwy
FassaBortolo
ahmedWebDev
FastRider30
Alex118
Jae
Dietz
Ultrawhack
Gulden
Only Title

Jack Tripper's Q&A profile

  • Visual C# How to insert a paragraph?

    I'm very new to VS.NET C#. I'm creating a simple app. to launch a flash tutorial. In the form, how do I insert a paragraphc explaining what this app. is going to be I tried the Lable control but it does not give me multi-line option. What do I need to use Thanks! I remember in VB6 how you could edit the text directly in the designer window. It was sometimes convenient, but more often then not I ended up double-clicking on the control and generating an event, instead of "slow double clicking". Editing the text in the properties window is the way it's done in .NET. ...Show All

  • Visual Studio Team System Error when trying to create a new database project

    I've installed VSTS 2005 Trial System, SQL Server 2005 Enterprise Evaluation System and Team Edition for Database Professionals CTP7. They are running on a fully patched virtual machine with 2000 Pro OS. I'm running as an Administrator and can create databases from both SQL Management Studio and from within Visual Studio. When I try to create a new database project I get the error: "An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)" Remote connections are allowe ...Show All

  • Windows Forms Custom DataGridViewColumn - Designer not storing custom property values

    Hello, I've created a custom DataGridViewColumn (based on the DateTimePicker example on MSDN). It works fine except that the designer does not store property values for my custom properties. Eg. public MyDGVColumn : DataGridViewColumn { private string m_MyString; public string MyString { get { return m_MyString; } set { m_MyString = value; } } etc... In the above example, the 'MyString' property correctly appears under 'Misc' in the designer when I'm editing my DataGridView columns. However, if I set the value it seems to be discarded. The next time I edit my columns in the designer, the value is blank. It's also null in the myfom.designer.cs file. If I change it programmatically it works fine. What's happe ...Show All

  • .NET Development combine dlls and exe to a single exe app

    I have a project where there is a lot of dll files and one exe file. What I want to do is put all those dlls and exe file into one exe file, so when you deploy this project over the internal network, this will be easy as just send one file to every user. thanks in advance for your help, Edward You need to use this tool: http://research.microsoft.com/~mbarnett/ILMerge.aspx Best Regards, Rizwan ...Show All

  • Visual Studio Express Editions displaying the value of a particular database field

    First let me say that, as you might guess, I do not have much experience with Visual Basic. I have a database with 50 records (rows) and 35 fields (columns). My program calculates a value from a bunch of other input information and based on that value the correct field name is assigned to a variable. The records are bound to and listed in a combobox (that part works fine). When I select one of these records I want to assign the corresponding value, from the field that is specified by the variable, into another variable. Does that make sense and if it does - does anyone have any suggestions. Thanks to both of you. Sometimes I think it is the simple stuff I get hung up on. I have worked around this pr ...Show All

  • Visual Basic How to retreive network adpater information from remote machine

    Hello, I am completely new to the Visual Basic langauge -although I know VBScript pretty well. I am working a making a tool that connects to a remote machine and gathers some statistics from the network adapter. However, I have no clue as to how to connect to a remote machine. I tried looking for code examples, but I couldnt find anything (which doesnt suprise me because I dont really know what to look for) In VBScript I would probably use WMI -is that also true in VB If so, how do I use it in VB If not, what should I be looking at Any code examples or help that you can give would be very appreciated Regards, Jeremy Hi, Ok, I gave that a try and am still coming up with the ...Show All

  • Microsoft ISV Community Center Forums Right-click menu icon

    Hi there, Can you tell me how to add an icon next to a custom right-click menu item Like the little scissors next to the "Cut" item, I would like to place an image next to my custom menu item. Any help would be great. Thanks. Hi, The menu item you create should have a faceid property. You set this to an integer value that represents the built in icon you want to use. You can get free faceid viewer addins that let you see what icon uses what face id. http://www.dicks-blog.com/archives/2004/11/23/faceid-viewer-addin/ I hope thats right I use it for toolbars but I believe toolbars and menu bars derive from a common command bar object and it's that object that has the faceid property. ...Show All

  • Windows Forms Date Range for Data Grid

    Hello Could anyone please help me. I have a form and a datagrid. I want to attach a query to the data grid so that it displays content between 1 date range and another. Firstly I am using an access database so on the query I use for teh filter I use = for teh date field which then creates a toolbar an a little text box to enter the date. What I need to do is have an option to pull data into the grid using a date range instead. If anyone can help it would be great. Thanks Joe you may be able to do it in query builder im unsure as I never use the wizards, im a "hardcoder" lol :-) Doing it in code is pretty much as simple as that, just a few lines, modify the names of the contr ...Show All

  • Software Development for Windows Vista SqlTrackingService

    How would someone go about using the SqlTrackingService to track public properties on a given workflow My goal is to be able to query a state machine workflow from a given series of data values (e.g. first name, last name, etc) using a SqlTrackingQuery. Here is how I have tried going about it: private void ExecuteWorkflow( object type) { WorkflowRuntime runtime; WorkflowInstance instance; Type workflowType; AutoResetEvent waitHandle; waitHandle = new AutoResetEvent ( false ); workflowType = type as Type ; using (runtime = new WorkflowRuntime()) { runtime.AddService( new SqlWorkflowPersistenceService (ConnectionString) ); runtime.AddService( new SqlTrackingSer ...Show All

  • SQL Server Mirror Setup Problems

    We are having problems getting the two databases to connect with each other for mirroring. We have the following setup: - Doing Principal and Mirror (no witness) - Using Management Studio - Both servers are SQL Server 2005 SP1 Standard Edition - Same domain account, same user id - We can telnet to both and connect to both from Stuio. We were originally getting error 1418, but now we're getting: " Neither the partner nor the witness server instance for database "tmsng" is available. Reissue the command when at least one of the instances becomes available. (Microsoft SQL Server, Error: 1431)" This is what the log file looks like: ------------------------------ 2006-11-06 13:01:59.62 spid24 ...Show All

  • Visual Studio Express Editions array of labels or buttons

    Is there anyway to declare labels or buttons as an array for example: Instead of: // // label1 // this ->label1->AutoSize = true ; this ->label1->Font = ( gcnew System::Drawing::Font(L "Microsoft Sans Serif" , 24, System::Drawing::FontStyle::Regular, System::Drawing::GraphicsUnit::Point, static_cast <System::Byte>(0))); this ->label1->ForeColor = System::Drawing::Color::Red; this ->label1->Location = System::Drawing::Point(173, 168); this ->label1->Name = L "label1" ; this ->label1->Size = System::Drawing::Size(35, 37); this ->label1->TabIndex = 0; this ->label1->Text = L "Hello" ; Can ...Show All

  • .NET Development UDP Broadcast Problems

    Greetings all! I'm having problems recieving UDP broadcast packets. I've looked over all the code I can find on MSDN and elsewhere but I can't find what I'm doing wrong. I've got a sending thread and a recieving thread using the same socket to send and recieve the packet. Bellow is a copy of the code I made up to test it out: public Form1() { InitializeComponent(); server = new Socket(AddressFamily.InterNetwork, SocketType.Dgram, ProtocolType.Udp); server.SetSocketOption(SocketOptionLevel.Socket, SocketOptionName.Broadcast, 1); IPEndPoint localhost = new IPEndPoint(IPAddress.Any, 2305); server.Bind(localhost); Thread t = new Thread(new ThreadStart(Listener)); t.Start(); t = new Thr ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Indoor maps

    I'm making an FPS, but i'm wondering whats the best for the maps. Most stuff is made in 3D studio max and exported to .x files for now. Like for characters and weapos this is no problem, u can check if visible or not and stuff like that. But if u make 1 map in 3D studio and export to .x the entire map will be loaded and rendered ... whats best practice for this Definately look into binary space partitioning if you're concerned about progress - it will reduce your render workload by at least 50% in the worst case. It's a huge subject, though, with tons of ways to go about it. If you're worried instead about having to export a single file for the map or constructing the level from scratch everytime you ...Show All

  • SQL Server Problem when passing parameter to Execute SQL Task

    Hi! I have a execute sql task to create and drop logins. I want to create/drop the ASPNET login, but I need to pass the domain using a parameter. So I mapped a parameter: Variable name: User::serverName Direction: Input DataType: Varchar Parameter Name:0 and the sql is the following: CREATE LOGIN [ \ASPNET] FROM WINDOWS But I get the error: Executing the query "CREATE LOGIN [ \ASPNET] FROM WINDOWS failed with the following error: "Windows NT user or group ' \ASPNET' not found. Check the name again.". Possible failure reasons: Problems with the query, "ResultSet" property not set correctly, parameters not set correctly, or connection not established correctly. What am I doing wrong ...Show All

  • .NET Development SQL database connection in Global.asax.vb

    We have an application where users log in and set up a ConnectionString based on the login-info. As to now, we have used Application.Contents("conn") = (strConnectionString) in Global.asax.vb (Application_Start section) and then in the in the webforms we use Dim con As New SqlClient.SqlConnection con = New SqlClient.SqlConnection(Application("conn")) con.Open() ...... ...... con.close() (Each user has their own sql database that they connect to using the same scripts.) The question is: When many users are logged on at the same time, will the use of Application.Contents be a safe way to connect to each users own database or is there a possibility that users suddenly will try to establish a connect ...Show All

©2008 Software Development Network