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

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

Craigster

Member List

Chuck Cobb
Bill Poole
ibrahimK
uma kadagi
WinFormsUser13232
Luis Esteban Valencia MCP.
mobigital
THE RAZI
Jitusj
GT_MSDN
Vaish
J.Wadsack
jeffmorris
aler2u
nhl66pens
vasuyeleti
allison_h
Sandy Place
Jae
Kamii47
Only Title

Craigster's Q&A profile

  • .NET Development using vs.net2005 dataset

    I have a table Role in sql server with following columns: RoleID numeric primary key Name nvarchar Nullable Description nvarchar Nullable Creation Date datetime Nullable When i drop this table in designer of datset in vs.net2005 and try to make a update query,it makes query like the one below. UPDATE [dbo].[Role] SET [Name] = @Name, [Description] = @Description, [CreationDate] = @CreationDate WHERE (([RoleID] = @Original_RoleID) AND ((@IsNull_Name = 1 AND [Name] IS NULL) OR ([Name] = @Original_Name)) AND ((@IsNull_Description = 1 AND [Description] IS NULL) OR ([Description] = @Original_Description)) AND ((@IsNull_CreationDate = 1 AND [CreationDate] IS NULL) OR ([CreationDate] = @Original_CreationDate))); SELECT RoleID, N ...Show All

  • Visual C++ Visual Studio 2005 "error LNK2019: unresolved external"

    I've spent over an hour tryign to work this out. Intellisense sees some fuctions in my header but not others. It thinks it can see otehr functions that are no longer there. If I use the old names for new functions, it "sees" them but I get error 2019. What must I do to make the IDE see the actual code in the header file // tables.h class Table { public : Table(string db_file); vector<string> realm_list(); vector<string> snapshot(string realm); int get_item_median(string item_code); int get_item_snap(string item_code); private : bool isLoaded; int version_number; vector<string> data_store; vector<string> v3_realm_list(); vector<string> ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. what if we have non-express version of C#?

    I have the professional edition of C#. When I attempt to install XNA framework, I get a message saying something to the effect of "installation failed... you need to have C# express edition installed". This seems a little funny, since I paid quite a bit of money for the pro edition, and I'm thinking it should have the same functionality (if not more). Anyone know what the deal is with this Thanks, PL The Express IDE works a bit differently than the non-Express IDE, thus the requirement for the Express version with GSE, if you want all the functionality of GSE. You can use XNA with VS Pro (after installing C# Express, then GSE, then uninstalling C# Express) but you'll lose a lot of f ...Show All

  • SQL Server Interactive sorting of a list

    I have a list data region that has column headings outside the list. I would like to be able to click a column heading and sort the list. However I cannot do this because the scope of the header can't access the list. Has anyone sorted a list by clicking textbox column headings Please help. Hi Patrick- In general, when applying a user sort, you can sort items that are at the same scope, or are in a child scope. You might try setting the textbox to sort on the data set wihch the list is using, and then set the sort expression scope to details. If you are using RS 2005, I've included a sample RDL below. Just copy the text to a file, rename the extension to .rdl and open it in report designer. -Jon ...Show All

  • Visual C# Calling Event Issues??? Help!

    When my form closes I want to fire an event that will do somethings....but i think i may be calling it wrong...Here is my method signiture...and this is the error.... [code languge="C#"] public delegate void frmClosing ( object sender, FormClosingEventArgs e); public frmClosing ClosingVendorDetails; public static void DisplayVendorDetails(System.Windows.Forms. Form ParentForm, BHFreight.Tracking.BusinessObjects. VendorOrderLegDetail _VendorLeg, frmClosing ClosingForm) { BHFreight.Tracking.UI.MainWindows. VendorOrderLegDetailsForm frmVendorLeg = new VendorOrderLegDetailsForm (); frmVendorLeg._VendorDetail = _VendorLeg; frmVendorLeg.LoadVendorObjectToForm(); frmVendorLeg.ShowDi ...Show All

  • Software Development for Windows Vista useing IAMCrossbar with 4 input

    hello , i have 4 input video capture card (PIC2000) . now i use IAMCrossbar::Route , it can change the input . but when i changed , the picture looking not so good . it must waiting about one second then the picture normal . how can i change all the inputs in the same second , and the picture looking normal . thanks. Hi,Douglas Jordan . how to synchronize all 4 inputs to the same timing by directshow i use IAMCrossbar::Route to change the video signal , i can get the video's data but this switch use about 1 second . ...Show All

  • Visual Studio VSS 2005: Require Secure Communications using SSL is grayed out

    I am having some issues setting up VSS Internet access. Has anyone run into the issue where the "Require Secure Communcations over SSL" is grayed out. I have already created, issued and applied a SSL cert to my Default Web Site. I have searched all over the web and the documentation doesn't seem to point to this occurrence. Any ideas See link for the screenshot. http://test.naturalproduct.us/images/vss.jpg Like you say above, localhost does not seem to resolve for me for some reason. This is very strange.... I checked my hosts file and it even has an entry for 127.0.0.1 (localhost). The whole reason I am trying to enable this is so that I can only require VSS usernames when a user connects to ...Show All

  • Visual Studio How to get list of files in a solution?

    How can I get a list of all files on which a solution depends By this, I mean all the files which would be required to build the solution on another, new, machine. I'd prefer a method that can create a file containing the list of files. Perhaps a makefile would have this information. Hi, This is an article I wrote that uses a method GetCurrentIDE which returns a reference to the IDE object. From here you can go to the projects and there files. http://geertverhoeven.blogspot.com/2006/12/reference-to-calling-visual-studio-2005.html Greetz, Geert Geert Verhoeven Consultant @ Ausy Belgium My Personal Blog ...Show All

  • Smart Device Development SerialPort.BytesToRead max's out at 2047

    hi, currently i'm doing a program for pocket PC connected to RFID reader using Serial Port. I'm very new with the program with window CE. I had done the same program in Window Form and it running well. But, when i transfered the program to Smar t Device Application, the program not running well. I had try 2 ways. First is using timer, and second is using serial_portData_Received. Below is the codes: Using Timer: program stuck on sp.Write( new byte [] { 0xC0, 0x02, 0x01, 0xFF }, 0, 4); =inside timer private SerialPort sp; private void Form1_Load( object sender, EventArgs e) { #region Serial Port Init sp= new SerialPort (); sp = new SerialPort (); sp.PortName = "COM1" ; sp.BaudRate = 11520 ...Show All

  • SQL Server SSAS 2005 Tutorials on Named Instances

    FWIW, this "DOH! moment" may help others who may have experienced the same problems. I have been running the SSAS 2005 tutorials, where my SSAS and SSDB servers are named instances, instead of the default "localhost". The SSAS tutorial consists of a number of tutorials (lessons), each with a project representing the "school solution from previous lessons. Every time I went to load up another tutorial project (lesson), I had to deal with the named instance issue. I kept having deployment errors (32, to be precise, the first two of which told the story): Error 1 OLE DB error: OLE DB or ODBC error: Login timeout expired; HYT00; An error has occurred while establishing a connection to the server. When c ...Show All

  • Visual C++ Help badly need to resolve a weird issue related to COM IDL (and possibly to VC++2005/ATL 8.0's attribute handling as well)

    Help badly need to resolve a weird issue related to COM IDL (and possibly VC++2005/ATL 8.0's attribute handling as well) I must support a legacy COM interface. Here is a method in this very old COM interface (written in IDL): [object, uuid(...), helpstring(...), pointer_default(unique)] interface ... : IUnknown { ... [helpstring( "method InitLog" )] HRESULT InitLog ( int boolShared, const unsigned char * logFileName, int logLevel, int appendOrNot ); ... } Note: logFileName is a raw pointer. The coclass uses this pointer to read the content of a client-side buffer, which contains the log file name (a C-style string). I need to retain 100% of this interface, and swap out its old implement ...Show All

  • Windows Forms Icon from path in treeview

    Just would like to know how to do that (the icons) http://miranda.predialnet.com.br/imagens/iniciarewido.jpg In my app i did: http://miranda.predialnet.com.br/imagens/iniciar.jpg well i think i got what i need! But i need something to test.. in "WHAT HERE ", i need to put something that will fit all carachters, !@#$%... spaces, letters, numbers.. etc ! What do i have to put string arquivo = hklm.GetValue(programas).ToString(); Regex arquivo2 = new Regex ( "[a-zA-z]+:\\+WHAT HERE +\\+[^ ]+.WHAT HERE {3}" ); string arquivo3 = arquivo2.Replace(arquivo, "" ); Icon icon = Icon .ExtractAssociatedIcon(arquivo3); ...Show All

  • Visual Basic anybody know how to control "Cash Drawer"

    I try to find how can i write code to kick-out "Cash Drawer" but i cannot find a lot of informaiton. I read manual, it said i must send any character to Cash Drawer on LPT or COM Port with ESC Character What is ESC Character Please suggest or provide link for me to visit Generally an ESC character is ASCII 27. Exactly how to send it will depend on the port your cash drawer is attached to. This article might give you some hints to get started. ...Show All

  • Visual Basic Datagrid Postbacks

    Hi all, I have a datagrid that gets data from a SQL database.(Windows Forms App) The problem is i need to loop through (or somehow process) the datagrid once a button is pressed and update some fields in the SQL database. These fields are bit fields that are using the DatagridBoolColumn style. If the user clicks the colums and change the check values then it must be saved. I cant seem to get the loop to work and have tried a number of other samples i found. Any direction would be appreciated I am using VS2003. Below is the load which is good but i havenot included the click event cause i have deleted it all :). Thanks in Advance Michael Private Sub POS_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load ...Show All

  • Visual Basic changing background

    how do i change the desktop background of the current user on the press of a button I believe you may need to do some P/Invoking as there is no direct way of doing it in .NET take a look at this, but its in C# http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=728979&SiteID=1 Conversion to VB.NET, by sure to import the System.Runtime.Reflection namespace: <DllImport("user32.dll", SetLastError= true )> private shared function SystemParametersInfo ( Byval uAction as Integer ,  ByVal uParam as Integer ,  ByVal szImagePath as String , ByVal fuWinIni as Integer ) as Integer End Function .. .. public function ChangeWallpaper ( ByVal path as String ) as B ...Show All

©2008 Software Development Network