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

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

James_Steven

Member List

Mystret
Swapna.B.
mabxsi
ajedi2k
Shady9399
god_of_coolness
flyte
Satya Srikant Mantha
João S. B.
Doobe01
Steve Russell
shaun_vb6
Bobo1234
Boise83716
ScottyWakefield
AndyL
jaymc
.net sukbir
pat_seo
ramana reddy
Only Title

James_Steven's Q&A profile

  • Visual Studio Express Editions error when running after compiling....

      ok i have another question i downloaded the blackjack starter kit and made a few changes and after i compiled it and ran the the program i got this this message... all the pictures are even in order and there!!! Please Help! asap! Thanks!   unhandled exception has accurred in your aplication If you click continue the application will ignore this error and attempt to continue. If you click quit, the application will close Immediately ..\. \images\cards\cardskin.png   ************** Exception Text ************** System.IO.FileNotFoundException: ..\..\Images\Cards\cardSkin.png    at System.Drawing.Image.FromFile(String filename, Boolean useEmbeddedColorManagement)    at System ...Show All

  • SQL Server connecting to sql server

    i want to connect to an remote sql server 2005 from my office , where there remote sql server is in USA and my office is at india, i have done all the setting on the server where i have enabled remote connections and tcp/ip, i need to connect to the sqlserver using sql server management studio at my office, is it not possible to connect to an remote sql server without VPN Few things to check 1. Does US SQL server machine has Firewall enabled (considering opening the corresponding port) 2. Does INDIA machine has Firewall enabled 3. If Windows Login is used to connect to US SQL server, is the login granted 4. If you still see connection errors, you may consider to post the error message, error number and connecting scenario ...Show All

  • Windows Forms Difference between arraylist and hashtable

    What is differemce between arraylist and hashtable where did each one is used Two very different collection classes. An ArrayList behaves just like an array, except that it will dynamically expand and contract when you add/remove elements to it. A HashTable is useful when you want to lookup objects indexed by a 'key' value. It also dynamically expands and contracts but doesn't impose an order on the elements like an array does. Put a different way: you index elements in an ArrayList with a numeric index, you index elements in a HashTable with a key. Such a key is often a string... ...Show All

  • SQL Server waittype NETWORKIO blocking spid on SQLServer 2000

    I have a series of processes being blocked - after running sp_blocker_pss80 I can see that the blocking spid is coming from a batch program that is issuing a 'sp_prepexec' event and has a waittype of NETWORKIO. It looks very like the problem fixed by hotfix: 884554 in SP4. The db is SQLServer 2000 and running the following command: SELECT SERVERPROPERTY('ProductLevel') GO Gives the result SP4 So I guess I have the hotfix but I'm still experiencing this problem. The event that is 'blocking' is a select statement on a large table. Running the same batch process on identical data in a test environment doesn't give the same problem. I'm not certain that other processing on the test environment is identical though so it is ...Show All

  • Visual Studio Express Editions Create Stand-Alone App From Word Macro

    I have a word macro that finds some text and changes it. What I want is to create a simple VB Express app that has a text box and a button. When the button is pressed the text that is inside the textbox is changed by the macro. What is a good way to do this Any tips or pointers would be very helpful. :) Thanks. You have a pretty large context Error here. Brunos code creates a Word Object. After having done so. All requests are made within the context of that object. Here you're in a totally different context. The answer to your question, is yes. Bruno's code would, with only slight modifcation do what you describe. ...Show All

  • .NET Development writing a Telnet client with VB. NET

    Hi, I am trying to write a simple telnet client using VB.NET with Visual Studio 2005. I am using System.Net.Sockets. But I cant make it work yet. What I need is: To automate some tasks on UNIX server. To achieve this, I need to login to unix (from within my app.) via telnet, and run some commands. T hats all. Anyone can help me with this Thanks Fede. I found something in http://www.codeproject.com/cs/internet/terminalcontrol.asp , look at the file TerminalControl.cs (negociating sequence commands) ...Show All

  • Visual Studio 2008 (Pre-release) Vista IIS7 WCF - Has anyone got it working?

    I can't get the simplest WFC app created by the VS2005 to work on the local machine! Two - I have read and tried just about everything mentioned in any post about WFC and IIS. This is NOT supposed to be this difficult I am sure. My installation: Vista Beta 2 (build 5384), IIS 7 enabled, VS2005 with extensions (WF RC2, Orcas), Vista Windows SDK 5383.1.1 I ran the serviceModelReg.exe -i (no errors). I have copied other web services from IIS 6 to the IIS 7 and they work nominally. I can create, compile and execute aspx sites on the machine. A step by step setup procedure would be helpfull. I hope someone at Microsoft actually has a configuration working... If not please say so. Been beating my head against the now bloody rock for ...Show All

  • SQL Server Time Intelligence Wizard - Rename Attribute?

    I am going through the Business Intelligence Wizard and adding Time Intelligence. I have created quite a few. I didn't like the names given (adding the table name + calculations at the end of the created date attribute) for the created calculations. So I changed all the names to what I wanted in the Date dimension. This, of course, breaks all the created calculated members. Anyway to change the names without breaking everything Or an easy way to change everything Thanks. There is no way to automatically change the names (except perhaps "hacking" the XML template of the Time Intelligence Wizard ), but you can do a search and replace in the MDX script. This is probably the easiest way to go. ...Show All

  • Windows Forms How to locate the forms as I like?

    There are 3 forms in my application and I want to put them in the location I want ... Is there any method to realize that Thanks! You can specify each form's location by setting its Location property. Also, make sure its StartPosition property is set to Manual: private void Form1_Load( object sender, EventArgs e) { Location = new System.Drawing. Point (100, 100); } Andrej ...Show All

  • .NET Development TcpListener getting 10042 error code

    When creating a TcpListener object I am getting error code 10042. Below is the code I am using. IPHostEntry localMachineInfo = Dns .GetHostEntry( Dns .GetHostName()); IPEndPoint localEP = new IPEndPoint(localMachineInfo.AddressList[0], System.Convert.ToInt32(tbPort.Text)); TcpListener listener = new TcpListener(localEP); listener.Start(); When debugging this code I notice that right after listener object is created I see error code 10042 (An unknown, invalid, or unsupported option or level was specified in a getsockopt or setsockopt call). am I missing a configuration setup You are right the TcpListener.Start() shows an active listening entry when doing NETSTAT -A I am using Windows XP SP2 and Visual Stu ...Show All

  • Visual Basic Checking if drive exist

    I got a few questions, maybe you might be able to help. I am needing to design a program that will check for a problem with another pc in my local network. We are not running a server type enviroment, but just a simple peer to peer platform. Any how on to the problem, We use one pc to act as a server, and the hard drives use a raid controller using 1(mirror). We ran into a snaffou yesterday, because no one in that building monitors thier pc's, they just use them, anyhow the raid broke and created 2 independent drives with the same shared folders, and the drive windows decided was bad wasnt the right drive, it renamed the volume and took everyone back to fridays data that resided on the drive that windows thought was bad. Anyhow ...Show All

  • Visual Basic Converting code to run in .NET 2003 -

    I am having a problem with a memory leak when generating Crystal Reports documents. I found a fix here and that worked fine in one of my new projects which I wrote using 2005 but I want to use this fix in a big older project that was written in VB.NET (2003) When I try to use this code I get two problems. One is it doesn't like If ev.Target IsNot Nothing - I can probably just remove that bit and put the if statement in its own try block. My main problem is that when I run the code I get the error "Object reference not set to an instance of an object." from the line Dim domainUnloadDelegate As [Delegate] =... Any clues The code (thanks to Jiri on hugobatista's blog ) is included below... Imports CrystalDecisions.CrystalReports.En ...Show All

  • SQL Server How to print reports programmatically?

    Hi, Our case is that we're making a system (win form) based on Sql Server 2005 (incl. Reporting Services 2005) and .Net 2.0. We want to add a "Print" button to our win form, whose job is to print a report based on user input. We want this printing to happen on a printer connected to the client machine, and without any print-dialogs poping up. Some of the reports must also fit into predefined forms already on the paper (so we need the text on the report to be on the exact same places each time). I've seen different suggestions; printing EMF, printing using the webcontol in .Net og an Acrobat Reader plugin... What is the best way to do this Any experiences Regards, Tomsi We have used some ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Force Feedback not working with October SDK and managed code

    Hi, I am trying to get the force feedback feature to work with VB.Net but not able to do so. Basic features work fine. The C# sample provided with the DirectX9 doesnt seem to work. I am using Logitech WingMan Cordless Rumblepad 2.4 GHz and am getting an error on a particular line of the sample (code on this link: http://msdn.microsoft.com/archive/default.asp url=/archive/en-us/directx9_m_Oct_2004/directx/input/directinput_forcefeedback.asp )         // Create the effect, using the passed in guid.         eo = new EffectObject(ei.EffectGuid, e, joystick); The error states something in the lines of... the value is outside the expected range.  I ...Show All

  • SQL Server Casting...

    I've got an ftp task that will be downloading a couple of files each night. today they're called blah20060830blah the date value in the middle changes each day. I'm trying to adjust this value with an expression. The expression doesn't want to cast my getdate function into a string that this property will accept. I know i'm missing something stupid. Thank you killerless wrote: How can I set this value to a variable, so that I can use it in other expressions Good idea! There is a property of the variable called EvaluateAsExpression. Set this proeprty to false and then paste your expression into the Expression property. I talk about this a bit here: Using variables to store e ...Show All

©2008 Software Development Network