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

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

Kolf

Member List

Ready4u
HinDRAncE
J_Craig
jchau
RussP
Giritharan
leo1
Tryst
mshvw
db_guy
wbardwel
Craig M Jackson
Hassan Ayoub
Kal100
George2
Greg.B
Tyrael Tong
Bill26
Dhiraj12345
Mubshir Raza Ali
Only Title

Kolf's Q&A profile

  • SQL Server Many Thanks

    I have 2 xp machines one has the SQL EXPRESS Server with all the goodies on it and the other I just install the client stuff. I am using VB 6 to program with using the ADO. It works great on the server machine. The software pulls up great. I can't seem to get it to work on the client machine. I get "Login failed for user 'TIGGERL\Guest'. I found the places to set the TCPIP setings on the server SQL Express to allow this even turned on the browser but nothing same error. I am using the same login on both machines and am pointed to the same workgroup. I used window authentication when I set them up. Not sure why it insists on using Guest. This is a copy of the connection string I am using "Provider=SQLNCLI.1;Integrated S ...Show All

  • Software Development for Windows Vista Test Case 30: Visual Basic 6 Application

    My VB6 application (unmanaged application) doesn’t shutdown!! Only for test, I tested an application (Blank application with VB6, no code, only one Form), and the application doesn't shutdown and doesn't restart!!!!! So, my question is about VB6 (unmanaged application), Do I need add code to my application for pass this test What should I do I think the problem is with Visual Basic. Thank you. Hello My VB6 Application is crashed when I run rmtool.exe -p dwIP -S . The problem is with a development machine and test machine. I'm using Windows Vista RTM. Thank you ...Show All

  • Software Development for Windows Vista ITransactionImport::import method error

    Hello everybody, I need a little help in order to investigate an Error using ITransactionImport::import method. It seems that the transaction cookie used in several transaction operations become invalid if one of this operation fails without an explicit operation by our side. We need to perform 4 database operations in the same transaction, the first operation is completed with success, the second operation fail due to a Timeout expired, we retry the same operation for three or four times and at last the operation end with success, when we try to execute third operation the ITransactionImport::import method fails with the following error 0x8004D00EL "The transaction has already been implicitly or explicitly committed or aborted& ...Show All

  • .NET Development How to Pass in a SQL Decimal with Precision and Scale using DAAB?

    I'm trying to port my websites to the DAAB and I have a question: how do you get the output of a SQL Server DECIMAL(8,2) datatype in the AddOutParameter() method Here's my original ADO.NET code: SqlParameter pPrice = new SqlParameter( "@Price" , SqlDbType.Decimal); pPrice.Precision = 8; pPrice.Scale = 2; pPrice.Direction = ParameterDirection.Output; myCommand.Parameters.Add(pPrice); Which is passed to a SqlCommand named "myCommand" and executed blah blah blah. How can you do the same thing in the DAAB The DAAB does not include precision and scale in any of the AddOutParameter() method overrides. SqlDatabase has a generic AddParameter() method that does contain a precision/scale but it also includes other things ...Show All

  • Microsoft ISV Community Center Forums precisely position embedded charts in worksheet

    I am embedding 4 charts into a worksheet and would like to position them into a nice 4 quadrant view. However, when recording a macro, the position of the chart at the end of Chart.Add, etc routine is arbitrary. Similarly, when I record manually repositioning the chart and then replay the macro, the results differ. Here is the code for creating 2 of the 4 charts. The recorder uses the ActiveSheet.Shaped("chart 1").IncrementLeft nnnn and .IncrementTop nnn statements to perform the repositioning. Any suggestions for predicatably positioning embedded charts within a sheet KC Charts.Add ActiveChart.ChartType = xlLineMarkers ActiveChart.SetSourceData Source:=Sheets("Cancellation - Swap Analysis"). _ Range(&q ...Show All

  • Visual C++ Event Confusion!!

    Hi all, I'm pretty new to the world of VC++ programming and I'm trying to implement a mousemove event on a picture box on a dialog. I can get the MouseMove event to fire if I add a message map etc to the dialog cpp file and header, but when I add a picture box, there doesn't appear to be a class file to add any code to for the MouseMove event. I'm a little confused, if the code goes in the Dialog cpp and header how do I tell it that it's the picture box I want the event to fire on and not the dialog box Please someone help, I'm totally confused. Cheers Pete Right-click in the picturebox and assign inique resource ID for it. For exampe, IDC_PICTURE instead of default IDC_STATIC. If you don't have dialog cl ...Show All

  • SQL Server Renaming a server

    Hi all, I have a Windows 2003 server box running SQL 2000 and BizTalk 2006. I need to change the name of the underlying server, could anyone point me in the right direction of what I would need to change in terms of SQL and BizTalk config to make it all sit happily with this Kind regards Taz Check out http://msdn2.microsoft.com/en-us/library/ms143799.aspx Thanks, Peter Saddow ...Show All

  • Visual C# How to use DllImport with c++ functions that take a function pointer as an argument?

    I'm trying to understand how dll importing in c# works. I've managed to get it working for function F1 shown below, however I want to extend this to a function of type F2, which takes a function pointer as an argument I've look at the example on MSDN, but it is too dissimilar from what i am trying to do and I don't really understand it. Can someone tell me the c# code that will enable me to import the function F2 into my c# program, or point me to a a more basic tutorial than the MSDN help site, because I really didn't find it useful in helping me solve this particular problem. This is the .cpp file that i compile into a dll which my c# program then uses. I have successfully imported F1, but all attempts to import F2 have failed... extern ...Show All

  • Visual Basic Question on a Radiobutton

    hello. A question please. I'd want to bind a group of radiobuttons with a field of a table. Example: I have 1 group with 3 radiobuttons (blue,green,yellow). I retrieve the value of the table (example: b,g,y). I'd want to bind the radiobutton with that data. 1) Is this possible 2) How can I associate a key to each radiobutton 3) Me .radiobutton1.DataBindings.Add( "checked" , data.Tables( "TableName" ), "Color" ) Me .radiobutton2.DataBindings.Add( "checked" , data.Tables( "TableName" ), "Color" ) Me .radiobutton3.DataBindings.Add( "checked" , data.Tables( "TableName" ), "Color" ) "Color" (nchar(1)) =  Can I format this data to a boolean value Thanks.... NetPochi, ...Show All

  • Smart Device Development using Owner drawn list view

    Hi All, I want to use a owner drawn listview in my application. I do not know how to create an owner drawn list view . Can any body help me. Please send links of the releted resources Regards Bijaya The SDF includes the OwnerDrawnList control. http://www.opennetcf.org/sdf Earlier implementations are explained in this article: http://www.opennetcf.org/PermaLink.aspx guid=d88b1a1a-a866-4247-a0c8-94ab3c124f63 ...Show All

  • Smart Device Development CeFindFirstFile using VB6

    Ok, my first Smart Device project and I've come to a bit of a standstill, trying to find out what files are on the device. Tried the CeFindAllFiles, but from what I have read I don't think it will function in VB6. So, on to CeFindFirstFile and and CeFindNextFile. It all looks so easy. I'm confused as to how you set up the returning information. I keep seeing references to 'CE_FIND_DATA', but what is that all about If anyone has an example or ideas it would be appreciated. Bert You need VS 2005 to develop smart device applications. You can use VB.NET, C# and C++ as your language of choice. Read this MSDN article http://msdn.microsoft.com/library/default.asp url=/library/en-us/guide_ppc/html/ppc_filemanagementf ...Show All

  • .NET Development DllImport of 32-Bit dlls

    Hi guys, I am a real newbie on 64-Bit progr. so my question might sound a little stupid. I have a VB.NET project which refered to a 32-Bit dll via COM-Interop. I migrated the project and the COM invocation does not work anymore. I tried several compiler settings (anyCPU, x86) but nothing helped. Then I found in my old C# book a method called DllImport ( System.Runtime.InteropServices) I declared the dll as follows: <DllImport( "fcvb.dll" , CharSet:=CharSet.Auto)> _ Function dllBIN2_iv( ByVal price_u As Double , ByVal ex As Double , ByVal d_exp As Double , ByVal d_v As Double , ByVal price As Double , ByVal rate_ann As Double , ByVal acc_rate As Integer , ByVal cost_hldg A ...Show All

  • .NET Development RSAProtectedConfiguration Provider Use In Windows Forms Apps

    Hi folks, I've been developing two enterprise apps for deployment to selected users within the company. Both of the applications have sections of their App.Config files encrypted using the RSAProtectedConfigurationProvider.  It all works fine. The problem is this: These apps will be deployed to run from the network, and will not live on the user's machine. This is also true of the App.config files. What this means is that I need to be able to create and export an RSA key container to be imported on each authorized user's machine which will be used to decrypt the encrypted sections of App.config. During development, the default .NET key has been used. Once the new key has been imported, I need a way to tell the RSAProtectedC ...Show All

  • .NET Development webclient.downloadfile() question.

    I'm using C# webclient.downloadfile(uri, string) to download a xml file. I found there are several problems. The file is only 300KB. first, I noticed the download time is much longer than downloading it directly in a web browser. second, sometimes the download will fail and only partial file is downloaded. And when I restart my application the function will fail due to the reason "The file is being used by another process". In this situation, the download will never succeed unless I delete the file manually. Maybe somebody can tell me how to deal with the problem I'm having. Plus this is some of my code, WebClient webClient = new WebClient(); webClient.downloadfile(xmlURL, path); XmlTextReader xmlReader = new XmlTextReader(path) ...Show All

  • SQL Server SQL Server 2005 Installation Problems - No Server..

    HI all I'm pretty new to SQL Server 2005 and have just installed the Enterprise Edition on my home PC to practice on. The problem is that I don't know how to create a server! I'm on a stand alone machine and just want a dummy database to work on to practice. Please let me know how I can set up a Server to practice on..... Many thanks! dnf999 FYI, SQL 2005 Enterprise Edition is not supported on Windows XP. But since you said you've just installed EE on your home PC (which I assume is non-domain'ed, no Active Directory present), so I assume your OS is either Windows 2000 w/ latest SP, or Windows 2003 w/ latest SP. If you didn't specify anything special, then most likely you've created a SQ ...Show All

©2008 Software Development Network