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

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

ohca

Member List

timesscar
kimberst
Jason Zhang
OutsideShot
runfaster2000
x_collins
DiegoCrespo
Shepherd
DomiZXR
cloudycity
sjoo
vbcoder_dk
jan_alex
BruceM
Tech G-nome
Pat Wellinton
bh7
HA.w.K
Glen Gordon
jan.zajic
Only Title

ohca's Q&A profile

  • Visual Studio Express Editions Error everytime I try to run

    Every time I try to run my program I get this error: http://img195.imageshack.us/img195/9966/error9mw.png No matter how simple it is, it will never work. Any help would be great, thanks. Is the compile working Can you run the program if you run it from the file system How about if you select 'Run without debugging' ( CTRL-F5, from memory ) ...Show All

  • Windows Forms Invoking a Smart Client from managed code

    Hi, I have sucessfully created and deployed a smart client on several machines however now I wish to invoke this assembly from a .NET dll whilst also checking that it is the latest assembly that is will bre run (and update it if this is not the case). I see two ways of doing this: The first (which I prefer) involves the dll invoking the assembly from the publish URL in the same way that the ClickOnce created start menu shortcut does. I have no idea how to do this however. The alternative is to manage updates via the System.Deployment API in the .NET dll and then invoke the assembly manually. However this requires a knowledge of where the Cli ...Show All

  • Visual Studio Express Editions Directory Verification

    Hi All, I have developed a piece of software that creates directories for our firm. This creates a standard set of them so as not to have to create all of them every time. (This is a big time saver). What i would please like to know is, how do i verify a directory so that i do not create to very similiar. e.g. Our directories will always begin with "M:\PROJECTS\K199 Project name" but what can hapen is: "M:\PROJECTS\K199_Project_name" - somebody using it and using underscores instead of spaces. this can then creat 2 very simulair names ! Now the drive & base directory will always remain the same but the ...Show All

  • .NET Development Sending Email problem (.NET 2.0)

    Hello folks! I'm trying to send email using the new classes of .NET 2.0, with the following code: MailMessage msg = new MailMessage(); msg.To.Add("bribeiro@certisign.com.br"); msg.From = new MailAddress("bribeiro@certisign.com.br", "Bruno Ribeiro", Encoding.UTF8); msg.Subject = "Teste de envio de emails usando .NET 2.0"; msg.SubjectEncoding = Encoding.UTF8; msg.Body = "Este e o corpo da mensagem."; msg.BodyEncoding = Encoding.UTF8; msg.IsBodyHtml = false; SmtpClient client = new SmtpClient(); client.Credentials = new NetworkCredential("bribeiro@certisign.com.br", "xxx ...Show All

  • Visual Studio Team System What version of TFS is installed?

    Rather sheepishly admitting I've kind of lost track with which version of TFS I have installed it is definately either beta 3 or beta 3 refresh, could you tell me a way I could check Click Help/About Visual Studio, select "Team Explorer" and see what version is reported (it should be something like 8.0.50727.147). I don't know off hand which build number corresponds to which release, but if you post the version you have, I'll look it up. ...Show All

  • Windows Live Developer Forums Tankwars screenshots

    I've made some screenshots of the game I'm working on (taken from my sandbox, haven't actually tested in msn yet...) You can see them at http://www.stuffplug.com/tankwars/ I know tankwars isn't exactly "never-before-seen" or "mind blowing", but it's a classic that should be included in every application that supports multiplayer. That's why I set off to code it ;) Up till now I have this working: - random level generation - angle/power choosing - firing - blast pieces from level I still have to do: - wind - destroying tanks - restarting level (cleaning up blasts) - rounds (best out of 5) - better graphics I might put on a working demo la ...Show All

  • .NET Development GAC Install for Admin Only?

    My program is using Junfeng's GAC API code to install files into the GAC. The code needs to run with any level of user permission, e.g. Guest. I used CAS to give my strong-named app Full Trust, but I still can't install into the GAC when I run as anyone other than Admin. Is there a permission set in CAS that I can use that will allow my app to install into the GAC Or is Admin the only user able to install into the GAC The only other work around I have is to create a service user with Admin privilages and switch to that user before installing into the GAC. But this is kinda crude and people don't like setting up special users on their mac ...Show All

  • Visual Studio Team System Can I run a query as a data source to a SQL Server database?

    Hi, all. Is it possible to run a query in the data source rather than connect it to a table I have a SQL Server database that I would like to run a query on rather than select from a specific table. Thank you. Yulia, I beleive you are asking about Data Driven Unit Tests. It is not possible to specify a query but you can create a view or stored procedure on your SQL server and specify the name of the view as data table name for the test. Thank you, Michael Koltachev VSTS ...Show All

  • SQL Server Does SQL Server support all languages using Unicode

    I have an international Internet business and I use SQL Server with the Unicode field types of nchar, nvarchar and ntext. I seem to have no problem with customers entering Slovakian, Slovenian, Romanian, English or German, but Hebrew and Japanese do not seem to work. The resulting data coming back from the database after adding a record is garbage. I had the software email me the data immediately before adding the data to SQL Server. It was appearing correctly with respect to the foreign language character format. The software does the database add and then returns a list of records currently in that table. The information for Japanese or He ...Show All

  • Visual C++ Having Problems In Building Sample Projects With VC++2005

    Hi, I was trying to build sample projects of Windows Media Format SDK 9.5 with VC++ 2005. I had that SDK, as well as the newest version of Platform SDK installed. When building the sample project 'DSPlay', the following error came out. ------ Build started: Project: DSPlay, Configuration: Debug Win32 ------ Linking... DSPlay.obj : error LNK2001: unresolved external symbol "unsigned int (__stdcall* ATL::g_pfnGetThreadACP)(void)" ( g_pfnGetThreadACP@ATL@@3P6GIXZA ) .\Debug/DSPlay.exe : fatal error LNK1120: 1 unresolved externals Build log was saved at " file://d:\WMSDK\WMFSDK95\samples\dshow\DSPlay\Debug\BuildLog.htm " DSPlay - 2 error(s ...Show All

  • .NET Development ADO .NET 2.0 update difference with ADO .NET 1.x

    Hello, I need to upgrade a table in a Access DB via ADO.(insert, modify and delete row). The folowing code work under .NET 1.X and no more working in .NET 2.0: internal static int dbSaveTable(DataTable Table, string SQL) {   int Result=0;  OleDbDataAdapter daUpdate = new OleDbDataAdapter();  daUpdate.SelectCommand = new OleDbCommand(SQL, connSUPER);      OleDbCommandBuilder custCB = new OleDbCommandBuilder(daUpdate);   try  {   bDBConnect();      Result=daUpdate.Update(Table);  }   catch (Exception er)  {   MessageBox.Show ...Show All

  • Visual Studio Express Editions Add a web Srvice As a data source to my project

    I want to Add a web Srvice As a data source to my project I add it successfull but after thet it did not add to my data source and still i donot have a datasource how can i solve the problem i do not Write Code For it I just Add a datasource and Choose Webservice and Add my Web Service . but no datasource add to my Project Do u Know Why A web service is not a data source, it builds a class that you can create instances of, and call. BTW, please don't spam the forums, I deleted your duplicate posts. ...Show All

  • Visual Studio MDI Threading issues?

    Hi, I'm hoping someone can help. I'm using the report viewer in an MDI child window. Users can be viewing several reports at once. The problem is this: If a user closes the MDI child window, while the reportviewer is at work (say, drawing print preview pages or generating a report) and fires up a new window reasonably soon (the old reportviewer will continue its work while not being visible), the application will crash. Is there something I need to do in order to destroy the reportviewer properly, so that it will stop doing work Thanks! I think I've solved this myself. I'll post the solution here, maybe it ...Show All

  • .NET Development How to block managed code being decompiled?

    After a lot of efforts, around 6 months of my development work on windows forms and components to bring a better application, I learnt that managed codes can be decompiled (Including Visual c++ 2003 in which I am developing - supposed to be stronger than C# and VB!). This looks like a setback, at least for initial start of my application in the market. I have made a trial run on my own code (95 % managed code with forms and windows components), simply it can be decompiled. Only 1 out 12 classes, which is unmanaged code, was not decompiled. Is there any way, using option like /CLR or otherways I can make managed code obfuscated from out ...Show All

  • Microsoft ISV Community Center Forums How do you test a user's input for alphabets?

    Hello programming gurus! Is there anyway to test if a user's input contains only alphabets Thank you! Hello. You can accomplish this by utilizing regular expressions. Here is a brief article one how this is accomplished in VBA. http://www.mvps.org/access/modules/mdl0063.htm Here is a site to test your regular expression (has some nice tutorials too) http://regexlib.com/RETester.aspx ...Show All

©2008 Software Development Network