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

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

CraigInGeorgia

Member List

Jamie Thomson
mracuraintegra
Mistertom
Kevin Dente
CBuilder
Mateus1223
EvilOneSD
DBLearner
Lawrence 007
Blader
Jon Stroh
Francis Shum
Andr&#233&#59; Dias
mlath
Dale Mumper
Loopsludge
TedCullen
Patrik J
ChitownDotNet
hazz
Only Title

CraigInGeorgia's Q&A profile

  • .NET Development Problem inserting data to SQL

    well here is my code of ISERT in C# =========================================== InitializeComponent(); SqlConnection coneccion; coneccion = new SqlConnection("Data Source=sagara\\sqlexpress;" + "Trusted_Connection=yes;" + "database=Hospital; "); SqlCommand orden; string q = "INSERT INTO prueba (nombre, apellido) VALUES (@txtNOMBRE, @txtAPELLIDO)"; orden = new SqlCommand(q, coneccion); orden.Parameters.Add(new SqlParameter("@txtNOMBRE", SqlDbType.Text)); orden.Parameters["@txtNOMBRE"].Value = this.txtNOMBRE.Text; orden.Parameters.Add(new SqlParameter("txtAPELLIDO", SqlDbType.Text)); orden.Parameters["@txtAPE ...Show All

  • .NET Development Is it possible make new thread with return value???

    Hi , I want to make new tread but to return data set. IS it possible public static DataTable fillAvailableEquipments() { getData=new ThreadStart(fillAvailableEquipmentsByTread); getDataThread=new Thread(getData); getDataThread.IsBackground=true; if(Defaults.Lenguage == Language.English) getDataThread.CurrentUICulture = Defaults.enCultureInfo; else getDataThread.CurrentUICulture = Defaults.ruCultureInfo; frmHead.MyTread=getDataThread; getDataThread.Start(); } private static void fillAvailableEquipmentsByTread() { DataTable dt = some method that return DATA TABLE; } It give me error becouse thred has to be VOID ...can it be done in some other way HELP.... ...Show All

  • Visual Studio Webform Designer Control

    I am trying to have an add-in create the webform for me based on information provided to the add-in. I can create the webform with the code-behind and I can retrieve the IDesignerHost. When I attempt to controls to the designer they are added to the collection but do not appear on the screen or the code. Does any one know of resources that can help me to find the right path The designer is not part of the framework, and is designed for users to interactively create and edit pages, its not designed to be driven programatically by another package or addin. ...Show All

  • Visual Studio Team System Upgrading Team Edition Software Architect to Team Suite

    Hello, If both are at Version 2.0.50727, is it necessary to uninstall anything, or will Team Suite install over Team Edition Thanks, Eric ...Show All

  • .NET Development how to associate a filetype with a windows service

    suppose i have a custom file format with an extension. how do i associate that file extension with a windows service. suppose when i click on the file with particular extension '.dmz', the particular windows service is automatically invoked. should i use filesystem watcher component. i do not want to exactly associate a file type to associated with a service. but i want the service to respond when i click a file with a particular extension. can i use a filesystem watcher component for this ...Show All

  • Software Development for Windows Vista Calling CreateProcessAsUser() from service

    According to some MS documents (e.g. http://www.microsoft.com/whdc/system/vista/services.mspx), it should be possible to use CreateProcessAsUser() API in a Vista service to create a process in user session. I am trying to achive this, but the function returns error code 1307 (ERROR_INVALID_OWNER) = "This security ID may not be assigned as the owner of this object." Does it work for somebody Many thanks in advance. The call was in windbg, I used DebugBreak() to get into step by step. (Somehow I couldn't use OutputDebugStringA() to display using DbgView.exe). When I use Remote Desktop to debug, the session id is 3, however WTSQueryUserToken() failed with the same error 1008. ...Show All

  • SQL Server Populating staging table using SSIS

    Hi, I have a flat file with columns from a geographical hierarchy such as: Country Zone State County City Store Sub Store , etc. The file also has data columns for months to the right of the above columns such as: Jul Aug Sept ......... basically 25 of these columns for two years' data for one product and another set of 25 columns for another kind of product. A typical record in the file looks like: Country Zone State County City Store Substore USA Southeast FL Hillsborough Tampa walmart Fletcher May04_ProdA ....Jun06_prodA May04_ProdB...Jun06ProdB 144 160 180 158 I need to upload this data into a staging table in SQL Server 2005 ...Show All

  • Visual Studio Express Editions Data grid view controls

    How do i get the data grid view box to work in my application. For instance save data to a file and open data from a file, and get the copy, cut and paste controls to work in my application. e.g. the copy control in a RTB = rtb.Copy and the copy control for a html editor is HTMLDoc2.exeCommand("Copy"), what is this command in the data grid view box Can any one help     http://msdn.microsoft.com/library/default.asp url=/library/en-us/dv_vbcode/html/vbtskCodeExamplePrintingDataGrid.asp   I don't know what what you are referring to as far as the other issues. ...Show All

  • Visual Studio Team System Team System Multiple Checkout Problem

    I was wondering if there is a way to totally disable multiple checkout for Team System. I have set the Team System Source Control Settings to disable multiple checkout and I have changed the Team Foundation Server Settings Source Control File Types to disabled for file merging. However there are still instances when multiple users can check out .cs files or the solution when another user has the same file checked out. Sometimes the changes are lost when one user tries to check in the file because the merge fails. Removing the users from the admin groups did not work. I'll try to get the users to provide screenshots and more information to help Microsoft diagnose the problem. ...Show All

  • Visual Studio Tools for Office Creating Smart tag for Office 2007 using VSTO 2005 SE

    Hi, Can anybody helpme out in creating smart tag for office 2007 using VSTO 2005 SE. i have followed the folllowed the following URL http://msdn2.microsoft.com/en-us/library/ms268751(VS.80).aspx But No "VSTOSmartTag" object is recognized for VS2005. Kindly help me out in the step by step procedure to create smart tag using VSTO 2005 SE. i could not find any reference to create smart tag for word or outlook Addins. Thanks in advance. OK. But, after creating an ISmartTag object, how do I add it to SmartTags collection on a Document or Application (Is there a substitute to " this .VstoSmartTags.Add( new CustomSmartTag());") Thanks in advance. ...Show All

  • Windows Forms how to add value in combobox and checkedlistbox

    in my database have 2 field my_ID and my_Name in my database has many row i try to loop and add value member but i don't know how to do that, i can do only add displaymember to combobox and listedbox i want to add data from field my_ID to value member of my combobox and my checkedlistboxcan anyone can help me thank you : ) OMG! DataView myview = mydataset.Table[ "mytablename" ].DefaultView; myComboBox.DataSource = myview; myComboBox.ValueMember = "my_ID"; myComboBox.DisplayMember = "my_Name"; Good Coding! Javier Luna http://guydotnetxmlwebservices.blogspot.com/ ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Volume textures!

    There is Texture3d, but the content pipeline doesn't support volume textures. That's great! Now the main thing I wanted to do with XNA can't be done because volume textures aren't supported. More and more it feels as if this product should've had one more round in a beta cycle. That or they have to get XNA 1.1 out the door soon! Wonderful API, but it needs some polish. Actually my DDS file is created by a c++ plugin I coded for 3dsmax that does some processing and then writes a dds-file. Anyways. Apparantly the following worked and should be alright since I don't target the xbox 360 (don't own one): Texture3D vol = Texture3D .FromFile( graphics.GraphicsDevice, @"data\volumetexture.dds" ); ...Show All

  • Windows Forms Making "special characters" appear as something besides empty squares.

    At my development site I can see the special characters ▲▼ up triangle, down trangle, and smiling face in the IDE and in the resulting program. At my client site i can see them in charmap and in a console app but not in the IDE nor in the resulting program. Everytime i have thought about codepages since DOS 3 or whenever they were introduced I've gotten a headache:-))) So ... Would someone please care to explain what I need to do to ensure that those characters display when I need them Thanks Regards, Al Christoph Thanks for the response. Interesting reading. But issues remain. 1. What has my client (here in Detroit for English speakers) done when installing XP to configure ...Show All

  • SQL Server Check if a windows/nt user account exists

    I have some script which creates/grant priveleges to windows/nt users to DB but i frequently get the message below: Windows NT user or group '<user or group>' not found. Check the name again. I understand that this is because the said user/group is indeed not present in the environment I'm running the script (ie. testing and production environment). But is it possible to have some sort of checking whether the user/group exists in the environment so that I could determine whether or not to call some lines of code Not sure if this is possible so i had to ask. c",) SELECT * FROM sysusers will show the users from the current database. There are columns like isntname ...Show All

  • Smart Device Development MSMQ PPC win ce 4.2(Reader thread terminated)

    Have observed a strange behavoiur in MSMQ . Senario : Have two applications one on Pc and one on the PPC (WM5). which interact using MSMQ. sending and receiving of messages works fine when the ppc is online(or in network uses a wifi connection). One case where in ppc being online , i send a mesasge from the host(PC) and it is recieved on the client(ppc). Now i go offline or out of network coverage then send a mesage from the Host(PC). The message queuing admin on the pc shows a status "wating to connect", with the sent message in the outbound queue. Now i get online or come into network after 10 - 15 mins time gap (ie after the message is sent from the PC.) ,On the PC  the message showing up on the outbound queue dissapears and ...Show All

©2008 Software Development Network