Hi all ! I'm using vs2008, sqlserver2008 and vb.net as language. I would like to ask, i got this line of error when i'm debugging my code **----Too many arguments to 'Public Function getDrawingNumber(PlcCode As String) As System.Data.DataSet'.----** below is my program code : Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load Dim clsDrawNum As New DrawingNumber() Dim dsDraw As DataSet Dim PlcCode As String dsDraw = clsDrawNum.getDrawingNumber(drpPlaceOfOrig.SelectedValue, PlcCode) End Sub Public Function getDrawingNumber(ByVal PlcCode As String) As DataSet Dim ToEDCConn As New DBConnection("", "TOEDC_Conn") Dim ds As DataSet Try ds = ToEDCConn.RunSqlReturnDS("select * from Place …

Member Avatar
Member Avatar
+0 forum 2

Hi all :) Before i'm starting futher more about my problem. lets me tell a short description about my program. user will choose path ID (retrieve all this data from table TPATH of database SDO) that they want to delete. before the path ID would be delete, it will compare this path ID from table TTENS of database SDO and table TPATH of database SDO where this two table share the same column namely as M_C and also share the same database. ![Capture4.PNG](/attachments/large/4/9f0610598636750086f8c6fcb873b442.PNG "align-center") this comparing method was write in Stored Procedure(SP). **this SP will be called on this class …

Member Avatar
+0 forum 0

Hi all. As mention on the title above, i got an error `Fill: SelectCommand.Connection property has not been initialized` Anyone here have any idea or suggestion on how to solve this error? My code (.aspx.vb) for this program Protected Sub btnDelete_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnDelete.Click Dim i As Integer Dim result As DataSet Dim hypID As HyperLink Dim chkRemove As New CheckBox Dim clsPath As New Path() Try For i = 0 To grdPath.Rows.Count - 1 chkRemove = DirectCast(grdPath.Rows(i).FindControl("chkRemove"), CheckBox) hypID = DirectCast(grdPath.Rows(i).FindControl("hypID"), HyperLink) If chkRemove.Checked Then result = clsPath.getComparedPathID(chkRemove.Text) End If Next i lblErrorMessage.Text …

Member Avatar
Member Avatar
+0 forum 4

Microsoft this week acquired [url=http://www.teamprise.com/]Teamprise[/url], a division of [url=http://www.sourcegear.com/]SourceGear[/url] that built tools to give developers access to Visual Studio 2008 Team Foundation Server from systems running Linux, Mac OS X and Unix.SourceGear's flagship [url=http://www.sourcegear.com/sos/]SourceOffSite[/url] provides remote access to Visual SouceSafe, Microsoft's version control system. Teamprise comes in [url=http://www.teamprise.com/products/download/]three forms[/url]. The Plug-in for Eclipse allows developers source control, bug tracking, build and reporting operations from within their current Eclipse environment or Eclipse-based IDE. Teamprise Explorer does the same but can can stand alone. There's also the Command-Line Client automated builds and other scripting situations. Updated to version 3.2 in March, Teamprise …

Member Avatar
Member Avatar
+1 forum 3

My university's TA helped me setup all the necessary files to run OpenGL on vs 2008 (even though his .cpp and .h files were written in vs2013) yet when I compile the project, it gives me a white window. The same code will display a 3d mouse in the computer lab, so I am very lost. There were no compiling problems. Has anyone ever experienced this before?

Member Avatar
Member Avatar
+0 forum 1

Hello, Is there's a way to install a new version of the webbrowser control in the visual studio 2008 to be used instead of the old one ? Thanks for helping :)

Member Avatar
Member Avatar
+0 forum 4

Hi guys, Do you have some sort of guidelines on how a user is notified that there's a new upgraded revision of the application (assembly information) or set-up files? The situation is like this, I have created a vb.net application and created a set-up file using VS2008. Now everytime I made any changes to my application, I want the user of the application to be alerted that a new version for the application is available. Currently, I am using the ClickOnce Application Deployment Manifest in which it is upgrading any changes that I made to my application after it is …

Member Avatar
Member Avatar
+0 forum 3

In my project I've 8 edit boxes and i need to set each box with different font. But my code is setting all the boxes single font.. So how can i modify it?? void CTrail3Dlg::OnBnClickedButton1() { UpdateData(TRUE); CFontDialog dlg; // get font for current dialog, just to fill in LOGFONT LOGFONT lf; CFont *pFont = GetFont(); pFont->GetLogFont(&lf); if (dlg.DoModal()== IDOK) { dlg.GetCurrentFont(&lf); m_font.DeleteObject(); m_font.CreateFontIndirect(&lf); GetDlgItem(IDC_EDIT1)->SetFont(&m_font); GetDlgItem(IDC_EDIT2)->SetFont(&m_font); GetDlgItem(IDC_EDIT3)->SetFont(&m_font); GetDlgItem(IDC_EDIT4)->SetFont(&m_font); GetDlgItem(IDC_EDIT5)->SetFont(&m_font); GetDlgItem(IDC_EDIT6)->SetFont(&m_font); GetDlgItem(IDC_EDIT7)->SetFont(&m_font); GetDlgItem(IDC_EDIT8)->SetFont(&m_font); } // TODO: Add your control notification handler code here }

Member Avatar
Member Avatar
+0 forum 1

I was wondering if anyone could help me. I am working on a program in VS2008 with C# which has a datagridview populated from 2 SQL Express tables and needs to save to only 1 database. Below is the code I have working so far: public frmGrid() { BindingSource bs = Program.dbman.GetData(); InitializeComponent(); dataGridView1.DataSource = bs; bindingNavigator1.BindingSource = bs; //Above code works. need a binding source for the dgv AND bn to both connect to //Creates an event handler for editing a cell (event handle below) dataGridView1.CellEndEdit += new DataGridViewCellEventHandler(dataGridView1_CellEndEdit); //Makes the folowing columns read only dataGridView1.Columns["MixName"].ReadOnly = true; dataGridView1.Columns["MixId"].ReadOnly …

Member Avatar
+0 forum 0

Without the complete context to summarize: [CODE] #include "stdafx.h" #include <iostream> #include <fstream> #include <string> #include <stdio.h> #include <stdlib.h> #include <time.h> #include <objbase.h> using namespace std; BYTE* StringToGUID(LPOLESTR szBuf) { GUID *g = (GUID *) malloc( sizeof(GUID)); HRESULT h2 = CLSIDFromString(szBuf, g); return (BYTE*) g; } [/CODE] I Get: 1>Linking... 1>XorCryt.obj : error LNK2019: unresolved external symbol __imp__CLSIDFromString@8 referenced in function "unsigned char * __cdecl StringToGUID(wchar_t*) (?StringToGUID@@YAPAEPA_W@Z) 1>C:\Users\Grace\Documents\Visual Studio 2008\XORCRYT\XORCRYT\Debug\XorCryt.exe : fatal error LNK1120: 1 unresolved externals 1>Build log was saved at "file://c:\Users\Grace\Documents\Visual Studio 2008\XORCRYT\XORCRYT\Debug\BuildLog.htm" 1>XorCryt - 2 error(s), 0 warning(s) ========== Rebuild All: 0 succeeded, 1 failed, 0 skipped …

Member Avatar
Member Avatar
+0 forum 2

Hi, I am using VS2008 and i need to position a group of controls (Ctrl + Click) on my web page to another location on the same page in design view. However when i drag the mouse only the last selected control moves whereas the others remain static. I could do this very easily in VS2005. Any help would be appreciated Thanks & regards Sanjish

Member Avatar
+0 forum 0

I use VS 2008. The forms which I designed in a project does not display in the correct size and alignment when the program is run. Even the controls in that form has changed their relative sizes. What can I do to overcome this problem?

Member Avatar
Member Avatar
+0 forum 2

Hi everybody, I am a new user of this forum. I usually work with Visual Studio 2008 in C# .NET. I have some experience in C# and can freely meet my needs. But now-a-days, I am wondering with the design of The KMPlayer, Windows Media Player, Nokia PC Suite, Real Player Gold and many other applications. I have tried a lot in Visual Studio 2008 to design such an interface, but there was no luck. It would be a great pleasure for me if someone could give me the idea about it. Can I do it in Visual Studio 2008 …

Member Avatar
Member Avatar
+0 forum 1

Hello. I need some advice. Here is my scenareo. I have a form displayed where a user can can select a 'function' from a list box. That 'function' has a corresponding ID number which I need to be able to take and use later in the code. The List of functions is preset (about 150+ them and the IDs are already assigned (so I can't just use the index). So if the user selects "Function A", I need the code to set a variable to, for example "42" (or whatever that Funtion's ID is). I was going to do this …

Member Avatar
Member Avatar
+0 forum 15

i want to implement this feature : if i have a following sentence : {my name is james vick and iam a {member|user|visitor} on this {forum|website|site} and iam loving it | iam admin and iam a {supervisor|admin|moderator} on this {forum|website|site} and iam loving it} on a click of button i want to generate this : my name is james vick and iam a member on this site and iam loving it or iam admin and iam a admin on this forum and iam loving it The basic need is to randomly choose words between {|} braces I have been able …

Member Avatar
Member Avatar
+0 forum 2

i was trying to make a [URL="http://devvicky.com/"]free microsoft word[/URL] plugin in vb.net. It automatically fills a web form. The main problem with the plugin is that it uses web browser control and once it has filled a form it will need to navigate another form. The form can only be filled once it has completely been loaded. so my approach is 1. navigate to first site when form loads [CODE]Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load WebBrowser1.Navigate("http://google.com") End Sub[/CODE] 2. use an integer i and use if statements to check which form to fill : …

Member Avatar
Member Avatar
+0 forum 2

Hai In visual studio 2008 designer, the buttons tab controls etc are having smooth corners. But when we run the application the corners are sharp and edges are not smooth. Is there any property in controls to smooth edges and corners? Thank you

Member Avatar
Member Avatar
+0 forum 5

We have a MDI main form, which contains a main menu and holds the properties and routines to - select, read and write a selected DAT-input file, and to convert the data to and from a MS-Access database - open forms like grids and specificly an InpMatrix (which shows INPUTMATH data). This InpMatrix is a form with a TableLayoutPanel (TLP) which contains a matrix of usercontrols and holds the properties and routines to - read and write data the MS-Access database from and to a (temporary) dataset. - Draw a matrix with usercontrols, and fill it with data from the …

Member Avatar
Member Avatar
+0 forum 2

Hello. I want to copy a file from a UNC path (ex: \\comname\dirname\filename.txt) to a local destination (c:\outputdir) I have no compile errors, but when I run it, it throws an exception (System.IO.DirectoryNotFoundException). I'm absolutely sure the destination existst (it's referencing the destination directory). I've tried doing it with system.io.file.copy(source,dest) and my.computer.filesystem.copyfile(source,dest). Same result either way. This should be easy, what am I missing?? Thanks

Member Avatar
Member Avatar
+0 forum 5

I particularly like the Publish facility within VS 2008 (VB). What I actually want to do is use the same facility for a Spreadsheet. I.E. I have a Spreadsheet with a chunk of VBA code behind it. Is there anyway to incorporate the spreadsheet into a VS 2008 VB project so that I can use the "Publish" facility to distribute updated versions of the spreadsheet from a web page (As created by the Publish Wizzard)

Member Avatar
Member Avatar
+0 forum 1

Today, Tuesday November 10, 2009, [URL="http://www.novell.com"]Novell[/URL] announces a Visual Studio plugin that allows support for non-Microsoft operating systems that use .NET code development on a platform known as [URL="http://go-mono.com"]Mono[/URL] via a new product called [URL="http://go-mono.com/monovs/"]Mono Tools for Visual Studio 1.0[/URL]. This is not a cost free toolset. In fact, it's really quite [URL="http://www.go-mono.com/store/"]pricey[/URL]--starting at $99 for the Professional (Individual) version. Of course, compared to the exorbitant price of Visual Studio, that's a mere pittance. If you can afford Mono Tools, it's a powerful addition to your Visual Studio environment. Using Mono Tools, you can create and test your .NET applications …

Member Avatar
Member Avatar
+0 forum 2

The End.