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

Software Development Network >> clint 2's Q&A profile

clint 2

Member List

Prasenna
shahrul
jtashley
explode
.net sukbir
Giminiani
Karenros
Jassim Rahma
BilalShouman
Billl
cplusplus1
Mark Jefford
R.Tutus
Gabyx
Ultrawhack
Seiggy
P.Chonnathan
Naheem
adorer
Luis Esteban Valencia Muñoz
Only Title

clint 2's Q&A profile

  • Visual Studio CommandBar icon problems and Connect, OnConnection not called

    I have an add-in which is using a tool window, I'm trying to change the CommandBar icon, but changing the icon index seems to have no effect until I delete the .addin file, close then reload the project, then restore the .addin file. I've tried this with the MyAddin example with no problems. Further investigation shows that closing then re-opening the project also causes the menu entry to disappear. Using breakpoints, it seems that the Connect and OnConnection functions are not being called except when the add-in is first loaded (by comparison the MyAddIn example calls Connect and OnConnection every time it is loaded). Any ideas what's going on or how I can fix it FWIW, read carefully this article: HOW ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. TorqueXNA

    I had a look at the XNA version of the Torque 2d engine and noticed that it converted 4mb worth of png files into over 60mb of xna files; Is this a Torque issue or xna as its a massive increase and would make releasing any games online a virtual impossibility. ProfEclipse wrote: It's not Torque that's doing it. It uses the default Texture (Sprite, 32bpp) content processor for images. If you want to compress your textures, use the ModelTextureProcessor, which does DXT compression. Also, bear in mind that size is not the only important characteristic to measure here. Which would you prefer: 1 meg of data which takes 10 seconds to load, or 2 meg of data which can be loaded in less than a second Sometimes it ...Show All

  • Visual C# Converting a string to int

    I'am building a console program and need to convert a string that the user types to an int. If I use convert.ToInt32 a get the ascii code for the number but not the number it self. can anyone help me find a easy way to do this, if there is one :) can't edit my post due to the forums being down unfortunately..... the code above posted goes through each character and checks to see if its a Digit, as your code has, and of course will fail when you get a non digit character like - (minus) for example. you could do in your code Char.IsDigit(str(i)) but no idea if this would make a difference. My apologies if this does not work ...Show All

  • Visual C++ Truncated?? command line arguments

    It is 10 years or more since I did any programming and there seems to have been a severe reduction of brain cells since then. I have been trying to pass command line arguments to a simple console application but I only seem to get the first letter of each string . I am probably doing something obvious and idiotic but I have been trying to find the problem for a couple of days and its driving me crazy. Can anyone help I think the problem can be caused by an issue related to "Unicode" encoding, accepted a number of years ago. Probably somewhere in your program Unicode strings are interpreted as Ansi ones. From Ansi point of view, a Unicode string is frequently interpreted as a string containi ...Show All

  • .NET Development Microsoft.Practices.ObjectBuilder.dll not being copied to a Project through a reference

    Hi Here is my situation: Firstly I have a class library called Data, I'm using Enterprise Libraries Data block so I have the following references in the Data Project Microsoft.Practices.EnterpriseLibrary.Common.dll Microsoft.Practices.EnterpriseLibrary.Data.dll Microsoft.Practices.ObjectBuilder.dll System System.Data System.Xml Inside the Data project is a class called DataAccess. This is what DataAccess looks like: using System; using Microsoft.Practices.EnterpriseLibrary.Data; namespace Data { public class DataAccess { public DataAccess( bool useTransactions) { Database database = DatabaseFactory .CreateDatabase(); } } } Lastly I have another Console application project called ...Show All

  • SQL Server Very High CPU during Full Text population

    I am building my first catalog on my 2005 server. It currently has been running for almost 3 hours now when in 2000 it took a little more than an hour. It seems the bottle neck is my sqlserver. I know that there are 2 other services associated with populating the catalogs but they don't seem to be doing much but the sqlserver.exe is sitting at 98% cpu or more. This obviously is not good. I tried searching for solutions and found nothing that helps. I increases the available memory to the server to 2gb from 1gb but the server is only using 40mb anyways so that did nothing. I am not sure what to do next... The table that is full text has 3 varchar(max) columns plus 10 other varchar fields but I wouldn't think that has anything to do with ...Show All

  • Windows Forms Smooth PopUp Form

    Hi, i'd like to make a smooth movement on my windows form, i mean, an example...i push a button and it resize the width of the form, however i don't just want to do it by a for cicle or something like that, because is shows it with the new size very fast, and i'd like to see the transition of the movement like in other controls , i want to know this 'cause it could look even better on a form, more interactive Glad to hear. Please mark the post as answered so when others do a search , they will know that the question was succesfully answered and browse to it. Thanks! ...Show All

  • SQL Server Accelerate Sql Express?

    Hi, we're planning to migrate an existing dataset cache mechanism to Sql Server Express. The dataset isn't really able to handle and search one million recordsets any more :-) Once a day the Cache Sql Database wil be filled with fresh data. In comparison with the dataset takes up to fourty times longer to build the cache on the same machine!! Ok, I expected that i will take longer than creating the objects in a database with all its "overhead" like atomic transactions etc. But not so much. The current throughput on SQL Server ist nearly 400 inserted records per second in the same table. The dataset stores up to 17.000 of the same data. I'm wondering about the the following fact. Allthough I'm testing the Mass-Inserts ...Show All

  • Software Development for Windows Vista Biggest Vista UI change: dropdown lists now look like buttons

    In Vista, a drop down combobox list (CBS_DROPDOWNLIST) now looks exactly like a standard button control (except with a small dropdown arrow on the right). Previously it looked like a CBS_DROPDOWN except it was non-editable. I haven't seen much written about this - why did you decide to make drop down list controls look like buttons In many cases, this makes some dialog boxes look very ugly (especially those with a mix of many dropdown combos, edit controls, buttons, and dropdown lists) Is there a way to force Vista to give me an old style looking dropdown list Some of my users have been complaining or thinking the control is "disabled" i.e. greyed when actually it just looks like a button. They expect it to look like a pre-Vista CB ...Show All

  • Internet Explorer Development BHO for windows Mobile 2005

    Hi , I am try to build a BHO for windows mobile. I am able to get some help from the sample piehelper but unfortunately it is doesn't explain a lot of things. Here is what i want to do 1. Capture key events like BACK, TALK, END 2. Access the loaded html and fill the text field with some data 3. Access the data in the text field of html I was trying to use IHTMLDocument2 but i am not able to compile the code. Can anybody help to resolve this issue. Thanks, chandra Hi Chandra, Any luck with this I'm trying to do the same thing. Please email me back. Thanks, Tian ...Show All

  • Visual Basic Comp restart need to run "run" i believe

    I need to restart my computer remotely, I've had prblems with my server locking up and I want to be able to restart it from work, someone had told me to use the shutdown command System.Diagnostics.Process.Start( "shutdown -m \\ computer name -r" ) it doesn't work... I'm sure it would if I knew what I was doing, I'm extreamly new to this and would like someones help please. I know there is something else I have to, possibly access "START/RUN" Please be specific in your answers. Thanks Ok, after reading some threads I know now I will definately have to access "START/RUN" how do I do that on another computer I've seen someone make a rebooter for programs, all you do is punch in the IP, the port, and th ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. low fps

    i'm confused about fps in my programme. i draw 200 textured triangles in 640x480 window but get only approximately 160 fps. it's strange but when i zoom out from triangles fps growth momentally, but when i close... PreferMultiSampling = false ; SynchronizeWithVerticalRetrace = false ; RenderState.DepthBufferWriteEnable = false ; (i need it coz, ill render triangles with transparent textures) i use DrawIndexPrimitives, i.e. useing vertex and index buffer. any ideas how to increase fps Graphics drivers are optimised for programs that do lots of rendering work. The goal is to make things run at the monitor refresh rate, typically somewhere in the region of 60 to 90 fps. Nobody cares whether programs c ...Show All

  • Gadgets Sidebar Gadget Submission Rejection - Why?

    Anyone know how one would determine why a Sidebar Gadget Submission through http://gallery.live.com/  would have been rejected; or how I might know why it was rejected   I tested it fully with Vista Ultimate... I have my manifest, icons, defaults, its COOL and best of all, its one of very few IM and SPACES themed Sidebar Gadgets I have seen available. I have posted it on my own site in the meantime... I am uncertain as to why the reject happened, and I have monitored my live.com email account and didn't see a reason for rejection.  Is there some place else I should have posted it besides gallery.live.com Thanks. Wil Dobson   This could be a long shot, but I noticed your website url is geekswithg ...Show All

  • Software Development for Windows Vista DynamicPropertiesActivity and Designer Rehosting sample

    Hello, I am trying to host DynamicPropertiesActivity (the one available at http://blogs.msdn.com/ghenap/default.aspx ) inside the Designer Rehosting sample application (presented by Vihang Dalal). The problem I am experiencing is that added dynamic properties do not appear in the property grid. Anyone solved this issue Thanks in advance Edmundas Cool. Can you provide any good reference material (books, websites, etc.) that may have guided you in selecting that particular method for a solution Thanks, Glenn ...Show All

  • Visual C++ Unable to debug: "The breakpoint will not currently be hit. No symbols have been loaded for this document."

    Hi, This is the forst project I compiled with VS 2005 and I got this error when I tried to debug. The PDB is in the same folder as the executable though and the project was set to "Debug". What did I forget Thanks for your help. I had similar problem for quite a while. I can debug now after installing .Net compact framework v2.0 SP1. I didn't even need to restart my machine. Thanks a lot ...Show All

©2008 Software Development Network