johnes's Q&A profile
SQL Server How to create an SSIS package correctly by programming?
Recently I try to create a package completely by c# code,not the ETL tool. The package is designed to transfer data from source table to destination table. And I wrote the following codes by referring to the msdn library,but unfortunately,it doesn't work. //this is my code //////////////////////////////////////////////// ...Show All
Visual Studio Express Editions C++ Express winodws 32 applications Problems ??
When i install Visual studio express i can not find the way to create winodws 32 applications. i can only create counsel applications. did i miss something. i downloaded the PSDK. and i tried running my code in a counsel nothing is working. for the main problem it does not seem to reconize windows.h tell me what my stupid mastake is please You probably need to add the PSDK directories to VC++ options. Go to m ...Show All
.NET Development Insert / Delete operations delay (in MDB)
Hi Hi.. I have a Windows form, with a bindingsource linked to an Access MDB file and the primary key is bound to a combo box. The user can insert / delete records by respective buttons. I am able to do the insert/delete operations by the following codes: For INSERT: Me.FormatInfoBindingSource.AddNew() Me.FormatInfoTableAdapter.Insert(strFormatID, strFormatID, "") LoadFormatID() Me.cboFormatID.Text = strFormatID For DE ...Show All
Visual C++ CWinFormsDialog in MFC
Is there any way of instantiating a CWinFormsDialog directly from an MFC MDI application's MainFrame object I have studied your MFC Windows Forms integration sample and noticed that the forms are instantiated either as doc-templates or created from a CFormView in an external DLL. I was hoping to open a winformdialog directly from the mainframe menu, but I am starting too see the limitations of the integration of winforms in MFC. ...Show All
Smart Device Development Get Current Method Name in CF 2.0?
Hi! Does anyone knows a way the get the name of the current method in CF 2.0 At the .Net Framework it works this way: System . Reflection . MethodBase . GetCurrentMethod (). Name Thanks in advanvce... Markus Hi, I am trying to use your code, but it seems that aex.StackTrace doen't exist in Compact Framework 1.0. Any other way to resolve the problem Thx, Moiss ...Show All
Visual FoxPro Importing Text File to a Table
hi everyone, i hope somebody can help me figure out how to import a text file such as this one below and save it in a table. the 999.999.999.99 should be placed in the first column and the date should be on the second, the third which is the time should be placed in the third column, the GET should be placed in the fourth. 999.999.999.99 - - [01/Jan/2006:11:43:36 -0600] "GET /Images/Product/Sign_in.gif HTTP/1.1 ...Show All
Visual Basic Help Me Plz
I wanna To learn the vb langs Plz any one tell me how it Hi, Please visit Visual Basic learning page . Regards. ...Show All
Visual Basic Select A Row in a Datagrid
I want to be able to delete a row from a datagrid based on the row the user has clicked on. Whichever row is highlighted, I want to delete it from the grid. But I cannot find any examples on how to do this. Any help would be great! Thanks! There should be plenty of examples of this... providing you know what you're looking for. The trick here is understanding that the DataGrid is only a display control; that ...Show All
Visual Basic Login in VB app
Can you help me! I have a SQL Server 2005 with a database on it. I would like to create a login form on a VS 2005 VB app that validates a user's credentials. Thanks guys, Zack Owens If you create a project, you can right click the project name from the solution explorer, and choose add->Windows Form. A list of pre-build forms will appear. Choose the Login form. If you open the code section of the form, there's a link to http:/ ...Show All
Smart Device Development Disable Cert Check on WM5
I am trying to ActiveSync over SSL, and can't get it to work. I have a feeling its because of the cert check like in PPC 03. I tried to run the same util in cradle mode, but it errors out. Does anyone know the actual registry key added/modified to disable cert checking on WM5 TIA Can you expand a little more on what you are trying to do what you currently have working. Can you cradle the emulator under normal c ...Show All
Windows Forms How can I turn off tri-state for a DataGridBoolColumn?
Hi How can i turn off tri-state for a a DataGridBoolColumn Please help thanks in advance Anzer hello i do not know if you get a solution... i had the same problem and i just find this solution to this issue define a DataGridTableStyle define datagridboolcolumn DataGridTableStyle set allownull to false and add the tablestyle to to datagrid here is my code Dim ts1 As New DataGridTableStyle ts1.MappingName = "Mynodes" ts1.Alt ...Show All
Windows Forms Calculate StartDate and EndDate of Week
Hi Every body, How can i find start date and end date current week for example now we are in 35 th week of year and start date is , in turkey 23 08 2004 but when i use dateadd function Dim c As Date c = DateAdd("ww", 35,&n ...Show All
SQL Server Cursor with parameters?
Hi, I'm kinda stuck with my function I'm creating. I want to iterate over a cursor in a cursor. I've found an example in the documentation of SQL server. The iteration is no problem for the first cursor, because that cursor is built up with a plain sql-statement with no parameters...however the second cursor should be executed with parameters which were fetched from the first cursor. I'm coming from Oracle and there it's very straightfo ...Show All
Visual C++ Compiling C under Visual Studio 2005
Hi everyone, I am new to MS Visual Studio and having some difficulties getting started. I am trying to compile C using Visual C++ but keep on getting some errors... Project: VC++ Win32 Porject File: C++ but saved as C source file Errors: (1) Error 1 error LNK2019: unresolved external symbol _WinMain@16 referenced in function ___tmainCRTStartup MSVCRTD.lib (2) Error 2 fatal error LNK1120: 1 unresolved externals C:\Documents and Settin ...Show All
Visual Studio Team System How to create floating / dockable windows
Is there any control in VS 2005 that allows you to easily create a toolbox style window (dockable, floatable, etc) similar to the windows you get in the IDE Cheers Microsoft doesn't provide any out-of-box solutions for this, but I've had excellent luck with SandDock in the past. Hope this helps. -- Ryan Milligan ...Show All
