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

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

niclarke

Member List

Clint_vbBoy
Les R
DCosta
Bonnie M
ssj4finalflash
Guostong
RMooreFL
Learning VB
Agent_
Fluxtah
JimBim76
Dot Net Engineer
TaYeB
Seanie
Hedgeh0g
Helen Cool Granny
oceanhai
MustangCobra
HKEC
joynerCN
Only Title

niclarke's Q&A profile

  • .NET Development Simple char conversion

    Hello, i've got this problem. I'm passing string value as database input parameter. String value contains some ASCII chars (with ordinal value <= 127) and some non-ASCII (>= 128). As i'm using VS 2005 C#, i suppose this string as a unicode one, right However database engine works in ANSI (i think so), ASCII value passes ok, but nonASCII doesn't, thsi char becomes ordinal value 63, char ' '. So i would like to ask someone kind how to convert unicode string to ANSI, please Thank you Omegaman for your kind help. I'll try to explain the problem in other words. I used to develop the same app in Delphi, using non-ASCII chars (ordinal value >= 127) went fine, now in Visual Studio this won't work, ...Show All

  • Visual C++ Mixed mode debugging problem

    I have a CLR component, a ref class, which creates an object of a C++ class in the body of the ref class's constructor. When debugging the code I can step into the constructor of the C++ class successfully from the body of the ref class. The body of the constructor of the C++ class then calls a static function of that C++ class. I can step into that function successfully. In that class static function I access a static member variable of the C++ class. When I try to get the debugger to look at the static member variable of the C++ class in order to see its value I get the message that the variable is not in scope. This is of course untrue because I am attempting to look at a static member variable of a C++ class, and am in the code of that ...Show All

  • SQL Server Microsoft report builder is a very BAD product

    This product can't make a report selectin measures from more then on cube at the same time crossed by to shared dimensions, it's a shame. Please don't say you have a web base ad-hoc query if you can’t even do same basic stuff like this. I can do what I want in visual studio I have no problem there buillding my owne query and customize the sql ou mdx. The problem is that the end users can't, the end users use report builder and this tool does the "stupid navigation", and does not allow the selection of two measures from diferente fact tables or in you are working with analysis server form tu measures grups, and select more the one dimension. This really is a serious question bec ...Show All

  • Visual Studio Any comments about these pictures?

    This is a form I'm working on. Check these pictures: Preview - print in application: http://www.flickr.com/photos/mindaugas_lukosius/301778249/ Preview in application: http://www.flickr.com/photos/mindaugas_lukosius/301778247/ Design view: http://www.flickr.com/photos/mindaugas_lukosius/301778245/ Any ideas why they don't match ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Issues rendering a triangle

    I understand this is beta and the docs aren't complete, but the docs are very limited. I'm attempting to render a triangle to the screen and am failing. I was hoping for basic code as was provided with MDX. Currently I get a cornflower blue screen but nothing is rendered. I've attempted taking the vertex declaration out of a using clause, and that did nothing. Any ideas I figure I must be missing some setting somewhere. Here's my draw function: protected override void Draw() { // Make sure we have a valid device if (!graphics.EnsureDevice()) return; VertexPositionColor[] triangle = new VertexPositionColor[3]; triangle[0] = new VertexPositionColor(new Vector3(-1.0f, 0.0f, 5.0 ...Show All

  • Visual Basic is there an easier way to do this?

    I apologize for the subject. This is what I have. 'Read the file and split it by line Dim SplitFile As String() = Split(My.Computer.FileSystem.ReadAllText(Application.StartupPath & "\" & dir & ConvertList.SelectedItem.ToString & ".txt", System.Text.Encoding.UTF8), vbCrLf) 'Clear the dictionary FromDict.Clear() 'Split each line of the file and add it to the dictionary For i As Integer = 0 To SplitFile.Length - 1 Dim SplitString As String() = Split(SplitFile(i), ":") FromDict.Add(SplitString(0), Decimal.Parse(SplitString(1))) Next 'Clear the array Array.Clear(s, 0, s.Length) 'ReDim the array to the correct size ReDim s(FromDict.Keys.Count - 1) 'Copy the keys of the dictionary to ...Show All

  • Visual Basic Page SIZE

    THis is my Custom page size W= 21.59 cm H= 13.97cm Dim pkCustomSize1 As New PaperSize( "Custom Paper Size" , 21.59, 13.97) ptr.PrinterSettings.DefaultPageSettings.PaperSize = pkCustomSize1 and it did not do it properly!!!! Hi, See the PageSetupDialog. For details click this link.>> http://msdn2.microsoft.com/en-us/library/6ctbkskc.aspx Regards, S_DS ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. it's cool

    thanks very much,xna team Think so, too...They done a really good job. Got my first components working (Grid, SkyBox, Camera etc.) and the more components I finish the faster the work flows. Intellisense Code completion RuLeZ . Compared to VC++ 6.0 + DirectX this is the best thing MS has ever released for Game/Multimedia-Programmers and thats for FREE. Even my scepsis of C# is gone away by comparing speed with native C++ code...I REALLY LOVE GARBAGE COLLECTION ...just the little thing about the lock/unlock and setdata/getdata but I think MS finds an performant way to solve this problem too. ...Show All

  • Windows Forms combo box

    any kind soul can help me, i really appreciated. i am using c#. and access DB. i have a table with 3 columns: ID, NAME, AGE. is it possible to have the 3 colunms in one combobox what is the code and let say i have a combobox which shows the ID. it is possible to have 2 textbox that shows the NAME and AGE for example when a person choose an ID from the combobox, the 2 textbox will change accordingly to the selected ID how do i do that. pls help me urgently. i sincerely thanks in advance. hi, 1) for your first question, you will need to write your own code , like to iterate through you datatable rows something like this Foreach(DataRow dr in Mytable.Rows) { combobox1.items.Add ...Show All

  • Visual C++ reading output from command line

    Hi Everybody, I'm writing a test monitor tool in VC++ using windows forms. My aim is to execute a command line tool and then read the output and display it as it goes in a text box in my form. I wanted to get your thoughts on what might be the best possible way to accomplish this goal. I was thinking of redirecting the cmd line output to a text file using ">" and then reading off the file. Any other ideas Thanks!! This is off topic for the Visual C++ General forum and has actually been addressed already in the .NET Base Class Library forum in the thread http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=63370&SiteID=1 ...Show All

  • SQL Server Non-release version (600) is not supported by this version of SQL Server

    I downloaded the 101 Samples installation (i.e. 101SamplesCS.msi) from Microsoft's website, which contains SQL Server database files. While working with the databases in the "Data Access" samples from the 101 Samples projects, I get the following error: "Database <mdf_name> cannot be upgraded because its non-release version (600) is not supported by this version of SQL Server. You cannot open a database that is incompatible with this version of sqlservr.exe. You must re-create the database..." I assume the database files were created with a beta or CTP version of SQL Server 2005. Does anyone know where I can get an updated version of these database files or scripts to update them Please help. Mike. ...Show All

  • Visual Studio Visual Studio freezes

    I have Visual Studio.NET 2003 Professional. It was working just fine a couple of days back and all of a sudden the IDE has become so slow to start up. The logo comes and freezes for a about 6-7 minutes before it allows me to chose the project to open. After that everything else works just fine. I did a repair and a reinstall but the problem still exists. Please help. Thanks. scorpsteals wrote: Holding the left shift key didn't help. About devenv.exe I am not too sure what am I supposed to type in the command prompt. I typed devenv <slnfile> -log and it said log is an invalid switch. http://pointerx.net/blogs/glozano/archive/2007/01/25/How-to_3A00_-Enable-Visual-Studio-2005-logging.aspx ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Xbox 360 Official Dev Kit vs. "the XNA thing"

    Here goes, The official dev kits intergrate within Visual Studio and compile on PC and send the executable to the machine and launch it via remote debugging. This also allows for breakpoints, steping thru code, etc. Will this new XNA subscription and Game Studio Express be similar to this idea I'm dreading things like relying on Windows support and burning it to a CD to play it on the 360. (For example) Well, I run a gamedevelopment company and I can say that I know a few things about making games. However after I have read the FAQ (ALL OF IT) I still do not know how I can test my XNA games on my XBOX360. If anyone can clearly explain me the process of getting the code and executables from my PC on my ...Show All

  • Smart Device Development Migrating Resources from eVC 3.0

    Hello, I am in the (hopefully) final stages of porting an eVC 3.0 MFC application over to Visual Studio 2005. The application is fairly complex but after about 20 hours of work I am now able to compile, link and deploy the application successfully. My problem is now with resources -- they don't seem be loading properly. None of my dialogs will load (DoModal() always returns -1) and attempts to load from the string table fail -- a debug ASSERT is raised. Strangely enough, the main form appears to load fine. I have spent considerable time searching for solutions to this, but most of the information on migrating resources deals with problems that occur before successful compilation. My resources compiled immediately -- I didn't chang ...Show All

  • SQL Server SS2K5 Encryption - Use in HA and Test/UAT

    I am in need of some answers on SS2K5 Encryption and possible issues when used in a clustered(replicated) configuration as well as having the encryption work on a Test/UAT configuration. Here is the scenerio: ServerA - is the Primary/Active server in a NeverFail cluster. NeverFail is a replication method like MS Clustering is except NF replicates the server to EXACT mirrors of each other. ServerA has lets say 2 client DBs (actually we have 10-20 but for simplicity we will say 2.) ServerB is the Secondary/Passive node. First question is ... what issues may I run into if I encrypt the 2 clients needed data in the DBs and we then have a failover. I figure we should not see an issue if NeverFail is replicating everything includi ...Show All

©2008 Software Development Network