Software Development Network Logo
  • SQL Server
  • Visual Studio
  • VS Express Editions
  • Smart Device
  • Game Technologies
  • Microsoft ISV
  • Visual Basic
  • Windows Forms
  • Windows Live
  • Visual J#
  • Architecture
  • .NET Development
  • Windows Vista
  • Visual FoxPro
  • VS Team System

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

binara

Member List

SSRS
Julius Rastad
MasterG
Shifty
AlexWerner
Janmre
Plod
Curtis Barton
Koobor
Pankaj Sabnis
SimonY
JBrinx
RobertBCran
MorningStar
Netasia
felixflores86
Tech_Prince
Wesley Wong
MarcBoisson
getyourbone
Only Title

binara's Q&A profile

  • Visual Basic Passing DataGridView record

    Hello, Using VS2005, I created a dataset that grabs some data and populates it in a datagridview, is it possible to capture the highligted record and then write some code to a button that will pass that data to another form so 1)Load list 2)Select Record 3)Press Button So far so good but now I need to know how to capture the record that is highlited. Please can someone help Regards, Pace Use the *selectedRows* method of the datagridview... Me . DataGridView1 . SelectedRows ...Show All

  • Visual C++ why? link error...

    this is the code: #include "stdafx.h" #include "wininet.h" wchar_t *lpszAgent; wchar_t *server = L"aaaa.t35.com"; wchar_t *username = L"aaaaaaaa.t35.com"; wchar_t *password = L"gaaaaa"; wchar_t upFileName[] = L"test.txt"; wchar_t dir[] = L"test"; HINTERNET hInternet; HINTERNET ftp; void upload(void); int APIENTRY _tWinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPTSTR lpCmdLine, int nCmdShow) { upload(); return 1; } void upload() { hInternet = InternetOpen( NULL, 1, NULL , NULL,1); ftp = InternetConnect(hInternet, server,21, username, password, 1,1,1); FtpCreateDirectory( ftp, dir ); FtpSetCurrentDirectory(ftp, dir); FtpPutFile( f ...Show All

  • Visual C++ Resource Editor: Add/Remove Operation impossible code read only - Release VS2005

    I've seen this bug discussed frequently with regard to the beta release of VS2005, but not often in the release version. I've tried former resolutions suggested. I'm running the release version of VS2005, Professional Edition, XP Pro, all latest service releases. Source Safe 6.0b We only recently moved to VS2005 from VS 6.0 and project was upgraded from a 6.0 project. Symptoms: - Dialog control event handlers do not appear in the properties window even when they exist. Some of the dialogs will take us to the handler when we select "New..." since some do indeed exist. - On trying to add on BN_CLICKED handler for a radio but ...Show All

  • SQL Server Using Symmetric key problem with encryption, decryption works fine

    Hey I had a table with a column of data encrypted in a format. I was able to decrypt it and then encrypt it using Symmetric keys and then updating the table column with the data. Now, there is a user sp which needs to encrypt the password for the new user and put it in the table. I'm not being able to make it work. I have this so far. Something somewhere is wrong. I dont know where. Please help Thanks. I used the same script to do the encryption initially but that was for the whole column. I need to see the encrypted version of the @ inTargetPassword  variable. But it's not working. It doesn't give me an error but gives me wrong data... ...Show All

  • SQL Server access url problem parameter

    I pass one parameter to my report . it is ReportDate which is string . http://webtest/reportserver /VendorStat/HCV2005&rs:Command=Render&rc:Parameters=False&ReportDate=3/31/2005 I get this error message. Default value or value provided for the report parameter 'ReportDate' is not a valid value. (rsInvalidReportParameter) Get Online Help The error isn't complaining about the format of the date you specified, but rather the date itself. Your report is specifying a list of valid values for a ReportDate. In the RDL, you have provided either a static list, or a query that returns the set of possible values for a p ...Show All

  • Visual Studio ErrorTask

    I'm adding ErrorTask items to my Error List through my ErrorListProvider. I am setting the Line property on each ErrorTask item, but the values show up in the list 1 greater than the value I specified. Is this the way it is supposed to work Thanks, Mike In addition, it seems the internal value being stored is correct. The object I receive in my eventhandler when I double click is the correct value, so somehow the visual representation is corrupt ...Show All

  • Windows Forms Searchable DataGrid

    I am trying to implement searchable DataGrid. I am creating a DataSet object with DataRelation on form load, as follows: Private Sub BindDataGrid()     Dim planTS As New DataGridTableStyle     Dim appTS As New DataGridTableStyle     Try         'Call ExecuteDataset static method of SqlHelper class that returns a Dataset.        ...Show All

  • .NET Development dropping a created DB in Microsoft Visual Studio

    I have a Database that has been created in mysql however it is saved as a .txt file. Is there some way to drop this into visual studio 2005 and if there is a way to get the DB in VS is there a way to also drop a list that populates the DB thanks Hi, I'm not quite sure if I understood your problem well. Is you database MySql and Not SqlServer And you want to connect with it using VS2005 If so, you cannot. VS2005 only supports connecting through SQLServers. Although there are plug-ins in which you'll be able to connect to other data sources such as Oracle Express. cheers, Paul June A. Dom ...Show All

  • Visual Basic converting to integers

    I have the following expression: b(1717) = CInt(haveRecorder.Checked) where: b is a byte array, haveRecorder is a checkbox I thought it would take the booloean value of haveRecorder.Checked and convert it to an integer which can be stored in b(1717) . If it wasn't checked then it would convert false to a 0 or if it was checked it would convert true to a 1. Instead it gives me an error about overflow. It says the number is either too large or too small for an integer. The value (I thought) could only be 0 (not checked) or 1 (checked). I have no idea what is wrong (other than the overflow). Enjoy! CInt(true) = -1 I would recom ...Show All

  • Visual Studio Express Editions VB 2005 Express ED. can not connect to SQL Server 2005 Workgroup Edition

    morning, I have just created my Company Database, now i'm developping an application for this, but i can't continue because i can't connect my VB 2005 Express Edition to my SQL Server 2005 WorkgroupEdition, when in VB 2005 Express Edition i'm trying to add a Data connection to my Database file.mdf, - Datasource : Microsoft SQL Server Database File - Dataprovider: .NET Framework Dataprovider for SQL Server and The Log on information is exact. I got the following error message......... An error has occured while establishing a connection to the server. when connecting to SQL Server 2005. This faillur ...Show All

  • Visual Basic Could Anyone possibly convert this for me? VB6 --> VB 2005

    This is a big ask, but effectively i cant complete my program without being able to use the code below. At least i can't find any other way to do things. Basically the below code is the IO for a proprietory data file. Any help would be greatly appreciated Option Explicit On Attribute VB_Name = "mCustomerIo" Type customerrec cu00 As String * 6 ' Header Var cu01 As String * 10 ' Account Code cu02 As String * 35 ' Account Name cu03 As String * 30 ' Address Line 1 cu04 As String * 30 ' Address Line 2 cu05 As String * 30 ' Address Line 3 cu06 As String * 6 ' Post Cod ...Show All

  • Software Development for Windows Vista ASP.NET Workflow Requirement

    Just a quick question, does a workflow need to be exposed as a web service for it to work with in an ASP.NET web application Thank you in advance... No - one way to use WF is to expose a WF using the built-in WebService activities. You can create the WorkflowRuntime from any .NET enabled processing - including from an ASP.NET process directly - I have a sample of this on my blog - http://www.masteringbiztalk.com/blogs/jon/PermaLink,guid,0fae3e73-7801-4cf6-a5a5-9370b0f99973.aspx ...Show All

  • .NET Development Data Source???????

    Hello Experts, I am new to this techology. I am developing an application-in which i am uisng vb.net as the front end and ms-access at the back end. My database name is: db1.mdb and table name is: student When i tried to connect with the ms-access database in one-oledbdatadapter- wizard - it asks to enter value for "Data Source"- i don't know what it wants. i gave my db name then the table-but it replied -something like "invalid path/file name" Plz help me what can i do Thank You The connection string in your OleDbConnection should look something like - ...Show All

  • Windows Forms converting image in a clipboard to memory stream

    suppose i have copied an image to clipboard and then pasted it onto a picturebox. using: IDataObject iDataObj=Clipboard.GetDataObject(); //determine the format of data if (iDataObj.GetDataPresent(DataFormats.Bitmap)) { pictureBox1.Image=(Image)iDataObj.GetData(DataFormats.Bitmap); } in order to save this image to database. i would then have to convert the contnts of the clipboard to a memory stream object and then serialize to byte[] object. how do we do that. i figured it ou. the problem was with the memory stream. the problem was created when saving multiple images to the clipboard and the memory stream was filled with m ...Show All

  • Smart Device Development An internal error occurred in PlatformVerificationTask

    Hi I get an 'internal error occurred in PlatformVerificationTask' warning when I build, but the code is still able to execute. There aren't too many people reporting this warning. So, it must either be very rare or there must be a quick fix to it. Ok, here is more detail concerning this warning and my project: 1) The project type is a device application for Pocket PC 2003 and is written in C#. I am running .NET Framework 2.0, .NET Compact Framework 2.0 and OpenNETCF 2.0 beta. 2) I am running VS2005 version 8.0.50727 (RMT.050727-4200) 3) The project was originally upgraded from VS2003 about two months ago, but this warning started sh ...Show All

©2008 Software Development Network