kevinj_j's Q&A profile
.NET Development How to connect to internet using dialup
I want to write a program to dial a number, authortize the password, and connect to internet. Would anyone help me If you use C# to connect to the internet, shouldn't OS prompt user to verify the connection automatically (just a guess, I haven't been using modems since year -97) Well, at least you shold ask the user first, othervise your program is considered as a dialer and soon blocked by malware scanners allaround the globe... ...Show All
Visual Studio Tools for Office Excel - Clear contents for a sheet
What is the best way to clear a sheet of all values off of an Excel sheet Either using the WorkSheet or WorkBook class My system is throwing an exception and am wondering if I am doing it wrong. advTHANKSance You can clear contents by using the ClearContents method of the Selection object. Using the Selection object, you can select cells in a specific range or a whole worksheet. It is helpful to remember that this forum is mainly for issues that directly pertain to the Visual Studio Tools for Office tools per se. So you will be best served by posing this question to a forum or newsgroup wholly dedicated to application-specific issue ...Show All
SQL Server How To Use Interactive Sort on Grouping Reports?
Dear Anyone, We created some reports that are mostly grouped reports. These are reports that doesnt have detail values but rather uses the grouping section only. We've enabled the interactive sort feature of RS2005. But unfortunately, it doesnt seem to sort at all when we click on the sort links. Can anyone pease enlighten me on why this is so Thanks, Joseph Interactive Sort has two options: the sort target scope and the sort expression scope. It sounds like you are using just the default settings - in that case it will sort the underlying detail data, but not the groups. You will need to explicitly specify the scope in whi ...Show All
Visual C++ aspell compilation problems
Hi, I tried to post on the forum but it kept coming up with an internal error so i was wondering if you could help me with the following:I have recently been trying to compile aspell (a spell checker written in c and c++) in visual studio .NET (2003) which has taken forever but i managed to get it to compile a dll now. When i come to add this dll file into another project which will be using the methods from this dll it keeps giving the following error and not allowing me to add it: "Add Reference: Error adding reference to the project.". Does anyone have any suggestions on how to overcome this Any information woul ...Show All
.NET Development The type or namespace name 'SqlConnection' could not be found
Hey all. I am remlig novel here to .NET so hope there's anyone affable while there can be be of use me awhile running. just now says the to me that ( The type or namespace name 'SqlConnection' could not be found ) however im not understand. I hav try to add this in my namespace ( using System.Data.SqlClient; ) at run that still no. plz help me. NeoNmaN, Does your project have a reference to the System.Data.SqlClient.dll assembly If you are using Visual Studio 2005 or 2003, check this by: - Go to the Solution Explorer, and expand the project that is using SqlConnection. - Under that project, expand the References item. Yo ...Show All
Visual Studio Express Editions SQL Open File attempt - ZoneAlarm detects attempt to access web ????
Most strange occurrence here. ZoneAlarm Firewall traps an attempt to go looking for PDC_SDK.DLL following a cnn1.Open() attempt from within my small project. I have such a dll on my PC but it's associated with a REA ( ) program by Eastman Kodam - so nothing to do with my SQL project. My code is simply: Public Class Form1 Private Sub Form1_Load( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase .Load 'instantiate an instance of the SqlConnection class as a variable 'named cnn1 '"localhost" points at default instance of SQL Server on local computer '"Integrated Securi ...Show All
Software Development for Windows Vista How to call webservices in a workflow in an asynchronous way
Hi, I am doing R&D on the features of Windows Workflow Foundation which we are going to apply for our project after release of WWF. we are using SOA Architecture. So I need to call services based on the rules. I have succeded in doing them practically using Sequential and State Machine Workflow. So, now I want to achieve Asynchronous way of calling webservices. I don't know whether this can be possible with WWF or not. If it is possible, can any body please help me in doing this. Thanks in advance. Hi Satya, All workflow instances are asynchronous since their lifetime is managed by the workflow runtime. Hence the calle ...Show All
Visual Studio Express Editions FileDialog question
Hi As if I don't have enough problems! I copied the routine below from the help system into my code. Straight away, then item DialogResult complained that : 'Access of shared member, constant member, enum member or nested type through an instance; qualifying expression will not be evaluated' Is there something there that I should be doing to correct this error This is an unaltered copy from the help system. Private Sub button1_Click(sender As Object, e As System.EventArgs) Dim myStream As Stream Dim openFileDialog1 As New OpenFileDialog() openFileDialog1.InitialDirectory = "c:\" openFileDialog1.Filt ...Show All
Visual Basic How can i make a database like QuickBoods?Please help me
im new in this way and i wanna start the programming with Visual basic If your new to VB programming then you should probably start on something simple rather than embarking upon writing an full blown accounting package such as quickbooks in VB. It really would be cheaper and more reliable to go and buy a copy of Quickbooks than try to write you own. That said, The following e-book will get you going in VB and will walk you through creating a simple DB application. From there you can start to develop your own. http://msdn.microsoft.com/vbasic/learning/introtovb2005/ That along with doing other research online, going to l ...Show All
.NET Development Unusual behavior on form controls
Hi All, I have just set up a new application to be run from within another windows application. The project is of type class library and consists of a class and 2 forms. The problem I am experiencing is when I am working on either of the 2 forms some unusual behavior is taking place. Whenever I try to use the space bar, nothing happens. No spaces appear whatsoever. Another problem I am having is when tabbing through the contols on the form, it minimizes the app. So when ever I press tab, it minimizes insteard of setting focus to the next control. Has any one ever come accorss similar behaviour Thanks in Advance... Todd. ...Show All
SQL Server Pre and PostExecute Event handler called more than once
I have a task configured on the post execute event handler of a package expecting this task to be executed only once after the completion of all the other tasks in the package. But I found the task configured on the post execute event of the package getting executed as many times as the number of tasks in the package + 1 . Is there any workaround for this problem Yes, The reason this happens is that events "bubble-up" from a container to all parent containers and are caught by any eventhandlers that exist on those parent containers. To stop this behaviour you'll need to create an eventhandle ...Show All
Visual Basic Add New Data Source for My SQL doesn't work
I have tried also installing and using the ODBC driver version 3.51 and the My SQL driver 3.1.8. None of these work. What do I have to do to add a new MY SQL data source Michael I was told by two different Microsoft employees that Visual Studio 2005 Express Edition was the right version of Visual Studio 2005 for me to use for all of my needs including access to ODBC and MySQL data. They emailed me a link with a comparison of all of the different variations and features of the different versions of Visual Studio 2005. I am trying to remember now, but I think it included a chart with bullets or check marks and comment ...Show All
SQL Server Replication to IP addressed server
we have an outside company that replicates to us and we are known to them via an IP address. We get an error now...Sql Server 2005 now does not support a server Alias, IP address, or any other alternate name are not supports. Specify the actual Server Name I tried putting in the hosts file on their server 168.168.110.2 SQL2005 able to connect to our server through Studio Manager...no problem.... replication....no dice what is the work around to make this happen, I am not a network guru...know enough to kill someone, but I need to get this to work before I can move to the ne ...Show All
Visual Studio What happened SourceSafe web service access in Beta 2?
A collegue of mine has just setup a SourceSafe 2005 database and configured it for internet web service access. I have Team Suite installed including SourceSafe 2005, but I am unable to find an option anywhere which would allow me to connect to it. I can connect over a local LAN or over the net via file sharing, but I can't find the web service protocol. I was informed this feature was in Beta 1. Anyone know what happened to it I thought Beta 2 was feature complete since the Go Live license is available.... Now i managed to get it to work. I had enabled the internet access while the proj ...Show All
Visual Basic cannot update MySql database from DataSet
Hey all, I'm developing a Windows application that connects to a MySql database. I declared a MySqlDataAdapter and a DataSet as Friend in a seperate Module..... did this so I can access them from various forms. (Is this the right way to do it ) I then populated my DataSet with the code below: Public Sub PopulateECNDS() Try Dim conn As New MySqlConnection conn.ConnectionString = connStringLocal &nbs ...Show All
