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

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

AlucardHellSing

Member List

Sameep
Delphy400184
AvengerDr
Evan Mulawski
ItayItsMe
may east
SteveMargetts
nsdsto
DRoden
TimurKA
Steve Wang 2006
Jun_1111
chaza
Kymagic
BobishKindaGuy
Karamasov
tommazzo
satya999
AndyL
Petchey
Only Title

AlucardHellSing's Q&A profile

  • Visual C# Global instance of a class

    I have a class defined in a separate file (general.cs). Where I have 2 declare the instance of this class in order to have a global object I tried 2 declare it in Program.cs or in form1.cs, but I can't see the object in any other form ... Virgil Rucsandescu wrote: OMG, tons of problems .... For the moment I need only one object, so I made the "TableConfiguration" class static. I can access this class from anywhere, but I can't access any of its fields, even all of them are public .... :-(( LOL ! Yes, As Ilyas Mentioned, You need to make all fields static too! Best Regards, ...Show All

  • Visual Basic C# to vb .net (2005),switch in c#

    I've this function with switch case in c#, I'm unable to convert it to vb .net. I don't know how to use "goto case" in vb .net. Please, guide me. public bool Decode() { decode_loop: for (;;) { switch (mode) { case LNUM: // some code mode = DNUM; goto case DNUM; // fall through case DNUM: //some code mode = BLNUM; goto case BLNUM; // fall through case BLNUM: //some code mode = BLLENS; goto case BLLENS; // fall through case BLLENS: //some code mode = LENS; goto case LENS; // fall through case LENS: //some code mode = REPS; goto case REPS; // fall through case REPS: //some code mode = LENS; goto decode_loop; } } } Thanks Javfarary Dear Javfarary, Here's the code : Public Function Decode() As B ...Show All

  • Visual Studio Team System ERROR 26403 but i'm using single server

    I was under the impression that Single Server installations did not require a domain. This leads me to be confused by the fact that i am getting error 26403 when doing my installation. According to everything i've read about that error (like this ) its caused by setup not being able to find the domain controller. Of course it can't, i don't have one! So... any ideas of what i can do -Tim Have you had a chance to find the log and attach the snip around the error That would greatly help us in debugging the problem. thanks. ...Show All

  • Connected Services Framework HelloWorld Sample problem

    Hi, I dont seem to be able to get the Helloworld sample working, whenever I press the createsession button i get a SoapFaultException. Checking the Application log gives the following Failure Audit error: Login failed for user 'Session-service'[Client: <local machine>] from the source MSSQL$SQLEXPRESS. A second error whose source is session gives: Error detail - System.Data.SqlClient.SqlException: Login failed for user 'Session-Service'. Do I need to give Session-Service an account on the SQL Server Looking at another thread from this forum I noticed that this worked for another user after they changed the authentication mode to mixed authentication mode, this didnt work for me. I then noticed that I c ...Show All

  • SQL Server How do I schedule JOB in sql 2005

    Can anyone please help me for scheduling JOB in sql 2005. Thanks in advance. Raviraj you could emulate the agent by writing a batch script that calls some sql commands using sqlcmd , then use windows "scheduled tasks" to give it a daily job... though scheduled tasks isnt super reliable IMO it can pretty much get the job done ...Show All

  • .NET Development ADOX.Catalog cannot use in Class Library?

    can anyone tell me is that ADOX.Catalog cannot define in class library Below is the error description: Type 'ADOX.Catalog' is not defined You need to add a reference. 1. In the Solution Explorer window, right-click the References node and select Add Reference. 2. In the Add Reference dialog box, click the COM tab and select Microsoft ADO Ext. 2.8 for DDL and Security. Click Select to add it to the "Selected Components". Click OK. ...Show All

  • .NET Development Calculating with measurements

    Hi, I want to make an application which asks for example "how much is 23 centimeters in millimeters". This should be random and showed in a label and the answer should be typed in a textbox. The problem is, i don't know how to randomize the measurements and how to get for example the "23 centimeters" and "millimeters" in a string. I hope i made myself clear about what i'm trying to do. Any one any suggestion Thanks in advance! "The problem is, i don't know how to randomize the measurements and how to get for example the "23 centimeters" and "millimeters" in a string." Sorry, Stilll not clear! You need to generate Random Numbers Best Rega ...Show All

  • Windows Live Developer Forums Add-In API: Events not firing

    Hello I'm putting together a skeleton Add-In using the MessengerClient API, which is simple enough. But once I get it up and running, none of the events are firing with the exception of ShowOptionsDialog. The code I'm using: using System; using System.Collections.Generic; using System.Text; using System.Windows.Forms; using Microsoft.Messenger; namespace MsnAddin { public class MyAddIn: IMessengerAddIn { private MessengerClient _client; public void Initialize(MessengerClient messenger) { _client = messenger; _client.AddInProperties.FriendlyName = "MyAddin"; _client.IncomingTextMessage += new EventHandler<IncomingTextMessageEventArgs>(this.OnIncomingMessage); _client.StatusChanged += new Even ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. texture fetch and shader math execution time in special cases

    Hi, when I do successive texture fetches using the same texture coordinate, without doing any other texture fetches in between (doesn't seem to make sense, yeah, but it does in my context :)), does it mean the value I receive is already in the texture cache And is the tex. fetch thus quicker than a random location texture fetch Another question: when I do some mathematical computations in a pixel shader and one operand is always 0 so that the result is 0 as well, are these computations executed quicker than in the case when the operand is != 0 so that the computations actually have to be executed to receive the result Best Regards Nico Oh, yeah, then it was a misunderstanding. What I meant is a loop l ...Show All

  • Visual Basic How to install old vb6 activex controls ?

    Hi, My old app depends on some activex controls shipped with vb6 enterprise edition. How to install these controls on my system I have vs 2005 installed, so afraid to break something installing old stuff. How to get these activex controls thanks Vilius If you know they shipped with VB6, you could just install VB6 and get the controls that way. -Scott Wisniewski ...Show All

  • Smart Device Development How to read the contacts?

    Peace be upon you this is such a nice forum (Thanks Microsoft), anyways I have a little question , How can I read the contacts I found that there is somthing to read it CeOpenDatabase and as I saw there is parameter that contains " Contacts Database " , so all i am asking how can I read the contacts, I mean how can I read all of it, and does it sorted or not , thanks for your time :) Thanks a lot for your reply please if you have any article about that please pass it, I really need to so much thanks alot for your reply :) ...Show All

  • Visual Studio 2008 (Pre-release) Security problem in calling wcf service from other machine

    Hi all, I was trying to call my wcf service (in machine with os XP sp 2) from a client in other machine (Win Server 2003). What I did is just change the address in config file. But it generated error message related to security issue. My question is how to make the security low so I could call my service from another machine Since the security issue could be ignored in my case. What changes should I make on the config file I've seen some threads before related to using wcf in different machine, I tried to change the setting in <security> part in config file. I used the credential type = basic. But it then generated the error that username and password is not defined.So how to provide username and password in clientcredential ...Show All

  • .NET Development Missing namespace error.

    I am working on an ASP Classic website but am growing out of its native XML parser, MSXML. Saxon parser is available on .NET so I am thinking about migrating, at least partially. I made an sample.aspx page but it chokes on: <%@ Import Namespace="Saxon.Api" %> (Need to register the DLL) Problem: I am not sure what is involved with setting up a new .NET project. I come from a Perl/PHP background and the whole ISS Application Directory sounds a little overinvolved for me. Essentially, I just want to make 1 .NET script which performs XML Transforms. I'm just a dude trying to use Saxon's Namespace but I don't want to go through the whole VS->Add Reference ***. 1) Is there some other way to include the .DLLs so I can use the c ...Show All

  • Windows Forms Progress Bar

    HI I am a beginner at C# and found the following code on this website but when i buld it the progress bar does not fill up could someone please help using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; namespace WindowsApplication2 { public partial class Form1 : Form { static int count=5; //time count public Form1() { InitializeComponent(); this .timer1.Interval = 1000; // set timer to tick each 1000ms this .label1.Text = "LOADING ..." ; //"Loading ..." text } private void timer1_Tick( object sender, Even ...Show All

  • Windows Forms GUI Unit tests

    Hello, I need to run unit tests against my forms. 1) Do you know a nice tool to run tests in a . Net language so I can run assertions against my controls 2) Is there a way in the .Net Frameworkto make a programatic click Thanks a lot for your answers. yes, NUnit is by far the best testing framework. And here is a link on some information about testing GUI's ...Show All

©2008 Software Development Network