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

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

Gentlehag

Member List

adrian tompa
jackhutchinson
DevboyX
Penicillin
mmmmBeeeer
Peter Peng
Catalin Zima
madenci
aliasx
loulou296
Jordan111
leo1234567
GroZZleR
Freeky
Gladiola
patio87
Kristoffer Ryden
A.Issa
yonderstar
The VB
Only Title

Gentlehag's Q&A profile

  • Visual Studio When a VS Service Doesn't Exist

    I am developing a package and am new to VS Extensibility. I understand that communication between VS packages is done through services. I've been scouring the SDK documentation and it seems that the service I'm looking for doesn't provide the interfaces that I need. My question: Does this mean I must obtain interfaces through COM instances and interop namespaces Thank you. JJ Unless you are actually implementing a custom debug engine, Those interfaces will not be of much use to you. It would be better to retrieve the EnvDTE.Debugger and/or EnvDTE.Debugger2 interface. I'm not really sure if you can directly effect a change in the thread's instruction pointer though. I know you can do a SetNextStateme ...Show All

  • Windows Forms Related ComboBox with BindingSource filter

    I have a form that shows 3 comboboxes and some more fields. These are Country/State/City. The binding source has only IDcity (not IDCountry and IDState) and somemore fields. I'm loading the main dataset and 3 more datasets for countries, states and cities. I've implemented on SelectedIndexChange on country and state combobox and did this for each one   if (stateComboBox.SelectedValue != null )             {                 cityBindingSource.Filter = "IDState = " + ( int )stateComboBox.SelectedValue;             }   The filtering is work ...Show All

  • Gadgets ActiveX for Sidebar best practices

    I am interested in further exploring the possibilities of using/developing an ActiveX object for use in a Sidebar gadget but havent done anything like this before. What are the best ways of proceeding with this Can i use Visual Studio 2005 to create an ActiveX object i tried using ATL project, i was able to compile it but not to register it Check and make sure you're selecting the basic ATL COM object option when setting up your project or adding an ATL object to it. The "IE" and "control test container" options you mention make me think that you instead selected an ATL UI control, which is a somewhat more complex animal that contains a number of interfaces used to interact with the UI ...Show All

  • SQL Server How to reset identity column's value?

    Hello friends, I have a table in SQL server 2005. it contains one identity column named EmpID it's datatype is int isidentity and auto increment by 1. I deleted all the records from this table. Now I want that EmpID should start again from 1 how can I do it Thanks & Rgds, Kiran Suthar. Dbcc checkident() will allow you to reset the seed value. If your table does not have any constraint, you can use "truncate table" to quickly delete data and reset the seed in one step. ...Show All

  • Visual C# bool and objects

    I have an collection of objects(arraylist)...in my list is want to check to see if properties within my arraylist have changed by using a _IsDirty flag...but i get an error saying cannot convert object to bool can anyone help me out here [code languge="C#"] for ( int x = 0; x < ArrayList.Count; x++) { if (Convert.ToBoolean(Arraylist[x]) == this ._IsDirty) { } [/code] how should this be A better solution is to create your own class inheriting from some structure and put a property IsDirty out there and you change its value whenever items in collection are added, removed or modified. You dont need to put dirty byte itself in Array. I hope this will help in choosing a right direction of do ...Show All

  • Visual Studio Class designer crashing with large projects

    Hi there, I've got a large solution - 100+ dll's as a backend for a very large web project... I'm running into problems when trying to reverse engineer a class diagram for the web project... sometimes it gets as far as actually creating the .cd file and populating it (i can see it on the screen) but any attempt to save it or interrogate a class etc. normally results in a big red cross in the VS window, and sometimes a 'not enough resources' message - I'm running a pretty grunty machine, and I'm sure others have project much larger than this one... any ideas anyone else running into problems Hello I have not seen this before. Is this a full managed code solution with everything compiled using VS 200 ...Show All

  • Smart Device Development How to connect to GPRS network from code?

    When Internet Explorer is ran on my mobile phone it automatically connects to Orange GPRS network and I see a popup/hint on top of the screen saying "Connecting to GPRS...". I want to do the same in my application. Detect somehow that the network if available and just connect to it. I've looked in settings and iI think this is somehow connnected to modem connections but still I dont know how to start them from code. Any help/link will be appreciated. When Internet Explorer is ran on my mobile phone it automatically connects to Orange GPRS network and I see a popup/hint on top of the screen saying "Connecting to GPRS..." ...Show All

  • .NET Development How to send email to more than one email address in Visual Studio 2005

    The Microsoft Help file says VS2005 makes sending email easy, but it's harder than it used to be. I have a mail Sub that I finally got to work except I can't see how to send to more than one e-mail address. I've searched the web and this domain for an answer to no avail. Can you show me how to send email to more than one email address in VS2005 You can see some things I tried that I commented out. Thank you for your help. Public Sub sendTheMail(ByVal theSubject, ByVal theServer, ByVal theExMessage, ByVal theStackTrace) Dim SendTo As New MailAddress("pserckl@braan.nabran.com, blansup@braan.nabran.com") 'Dim SendTo As New MailAddress("pserckl@braan.nabran.com; blansup@braan.nabran.com") 'Dim SendTo2 As New Mai ...Show All

  • Visual Studio 2008 (Pre-release) CompositionTarget.Rendering and measuring frame rate

    Hi, I'm trying to create a small control that shows the frame rate of my WPF application. I know I can use WpfPerf for this, but I want something handy and built-in so I can measure this from anywhere. My understanding is that CompositionTarget.Rendering is an event that is called every time the window is actually rendered to the screen. My problem is that this event is firing faster than my eyes (and WpfPerf ) are telling me the window is being rendered. For example, I have a page with a lot of UIElements in it inside a ScrollViewer. According to WpfPerf, the frame rate is around 20 fps while scrolling. However, I'm seeing CompositionTarget.Rendering being fired around 60 times per second. So 2 questions: 1. Why is CompositionTarget.Ren ...Show All

  • .NET Development Help with Infopath code.

    My name is Omar Kalala, I am creating a facesheet for medical charts. I am using infopath 2003 and i need help changing the save behavior. I need to know if there is a way to change the save code so that I can have the default filename be taken from specific criteria that users will enter into the blank form. Moreover, I also need to know if there is a way to change the default directory and folder that the new forms will save to. If anyone has any answer to this question, I would greatly appericate it. Dimitre, Realizing that my question my have little to do with the forum, would you mind suggesting a forum for my question, or would you like to offer an answer to my question -Om ...Show All

  • SQL Server SQl Query... Multiple cols to single XML.

    Hi I have a table which has couple of name cols and 10 varchar columns. The requirement was to retain the first two cols but convert the 10 cols into a single XMl. the table has this schema; ManagerName varchar UserName varchar TextField1 Varchar TextField2 Varchar TextField3 Varchar TextField4 Varchar TextField5 Varchar TextField6 Varchar TextField7 Varchar TextField8 Varchar TextField9 Varchar TextField10 Varchar I wrote a query like; SELECT TPD.[NameId] ,CrtdUser.[UserId] from [Olddb_DB] TPD join [NewDB]..[Manager]CrtdUser on Crtduser.managerName = TPD.ManagerName join [NewDB]..[Users]Users on Users.[loginDetail] = TPD.[UserName] to get the cols other than the XML /*********/ SELECT XmlDat . [textFiel ...Show All

  • Visual Studio Express Editions Always Round Up in Visual Studio 2005

    Okay Ive gone threw the forums many times and I have yet to find a clear beginner answer. I would like something that has any number that has a decimal to round up..no matter what the number/decimal is. Sorry if I sound rude Im just a little bit annoyed and not being unable to understand a lot of this. Okay I dont think you are getting the point. Here is an example of my coding...its a calculator for an MMORPG and the amount of in this case tree you have to cut doesnt always come to a normal number. I would like something for all the labels with the lbl in front to be rounded up when button 1 is clicked. These numbers arent always the same so i don't think something like wont work Dim X A ...Show All

  • SQL Server Simple? Logging Question

    Can someone tell me the easiest way to view the collection returned by a ForEach Loop   (I'm tired of clicking OK for each object with a script task msg box I've been using.)   For example, using an SMO enumerator, I want to see the list of objects returned to make sure everything looks good before adding tasks inside the loop. A quick way to dump the collection to a text file or just watching the collection values in a debug window would be cool. Logging seems like the right track, but nothing I've tried has worked so far...   Simple solutions after all. Thanks. I was stuck on the idea of trying to use logging. The Execute SQL Task works perfectly ...Show All

  • Windows Live Developer Forums Virtual Earth Maps on Safari for MAC

    I am facing following issues when I access VirtualMap using Safari for Mac. >> Javascript Errors >> Maps are not displayed. Is VirtualEarth API compatible to use with Safari, If yes, please can you tell me how And where we can find more information about it While we're talking browser support, or lack of, would it be possible to support SeaMonkey It shouldn't be too difficult to support SeaMonkey, as it is based upon the same Gecko code base as Firefox is based upon. In fact, after spoofing my User Agent string from SeaMonkey to Firefox, Virtual Earth works perfectly in SeaMonkey. To me, it looks like the Virtual Earth site is simply blocking out any User Agent strings that don't ...Show All

  • Visual C# Convert the following line from Class Diagram to code ?

    Hello Guys, I got a class diagram and it had something like this +Find(obj:Object):ICollection<Test> Now to move this to code... I have a Test Class so this is what I did public ICollection<Test> Find(Object obj) { //Now the Test class doesn't inherit ICollection, if I need to return the Result how should I do it. Or do I need to make change to Test class (keeping in mind that code is written by someone else and I can make almost no changes there) } Please advise.... Thanks, Harsimrat The Test class I have doesn't implement that, as I'm getting it from someone else and I have no privilege to change anything there. In that scenario what I can do .... T ...Show All

©2008 Software Development Network