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

Software Development Network >> Czar Eclarinal's Q&A profile

Czar Eclarinal

Member List

JosKoenis
kangalert
RDMarkus
clintsinger
Bumper
goPlayer
RCH1968
Tom B
ZhangZJ
NorthHaven
Triggr
SPWilkinson
JSarna
ravichandratbv
Christie Myburgh
A.Issa
Itzik Katzav
Ion101
Rajkumar Cheney
MitchPetel
Only Title

Czar Eclarinal's Q&A profile

  • Visual Basic Question about IIf

    I have two lines that, I thought, did the same thing. They are IIf(30 > 30, CbLevel.Checked = True, CbLevel.Checked = False) If 30 > 30 Then CbLevel.Checked = True Else CbLevel.Checked = False I don't use they together. Though, only the second line will uncheck the box. With the first line, the box is still checked. These are CheckBoxes by the way. Any ideas on what the problem is Troy L I'd agree completely - I've seen enough code which has expressions with constants which will always yield the same result 30 > 30 will always evaluate to false. ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Open Source Engines Or DirectX?

    Do You Prefer To Use Graphics Engine Or Start From Zero With DirectX Like your other question - this depends on what you want to do. A lot of AAA games now use engines (usually million dollar ones) because writing a high performance modern engine is a huge multi year large team job. It usually means you can get your game or prototype up and running much quicker. Many beginners never ship anything becuase of this curve. If you want to learn about how to do the nitty gritty details or you think you have a requirement the engine can't deal with then write your own. Though if you have the source for the engine, starting with the engine and modifying it for your requirements is also an option. ...Show All

  • Smart Device Development Microsoft Contacts Control

    I want to develop a custom control such as Contacts. I could reuse this Contacts in Microsoft.WindowsMobile.Forms namespace. But only disadvantage is this control takes data from Contacts source. I want to get this type of information from Calllog and SIM as well. What type of control they are using/I have to use to display Name and Number under one column but in two lines Thanks, Vijay The .NET Compact Framework does not implement a multi-line list box. Alex Yakhnin wrote a great article describing how to create an owner drawn list box. I suggest you use his approch documented at: http://www.opennetcf.org/PermaLink.aspx guid=d88b1a1a-a866-4247-a0c8-94ab3c124f63 ...Show All

  • Visual Studio active window in current running instance of VS

    I want to get the current open document in the currently running instance of VS. This code below is triggered by a menu item added through a VSPackage, when it is triggered I wish to get the current document open in the VS instance from which the Menu command is triggered. The following implementation actually gets me the document open in the first instance it finds of VS i.e. if more than one instance is open it may return the currently open doc in that instance. How can I specify the current VS instance EnvDTE80.DTE2 dte2; dte2 = (EnvDTE80.DTE2)System.Runtime.InteropServices.Marshal.GetActiveObject("VisualStudio.DTE"); EnvDTE.Document doc; doc = dte2.ActiveDocument; EnvDTE.Window window = doc.ActiveWindow; ...Show All

  • Software Development for Windows Vista creating registry key in HKEY_LOCAL_MACHINE accessible by all

    Hello, Basically I have an application (dll) that allows admins to configure a system wide configuration that is accessible (read-only) by normal users. The system wide configuration is stored in HKEY_LOCAL_MACHINE\Software. The code of course works on Windows 2000/XP but not on Vista because of, as I suspect, the fact that the information is stored in the virtual store under HKEY_CURRENT_USER. When the admin stores the new configuration and a normal user attempts to use the configuration (in a different security context) they receive a unknown registry key error as the information is, of course, not available. As I understand reading through the forum setting the "run-level" using a manifest file allows me to skip the virtualization and w ...Show All

  • Gadgets How to Display and/or Host Licrosoft Gadgets for your Website

    I suggest that you download this instruction file in either Word or PDF as the images are not appearing via MSDN forum. Or dig into the code and d/l from the respective servers. Gadgets.pdf Gadgets.doc The simplest way to display any Microsoft Live.com gadget is to wrap it in an iframe on your webpage. I'll explain: First go to http://gallery.live.com and decide which gadget(s) you would like to display on your webpage. Of course it is also quite possible and highly recommended to write your own gadgets as well. Click on the "Add to Live.com" button   Now the next page will show you a link to the manifest XML document, at the top of the page. Copy the link, in this case : http://d ...Show All

  • Visual Basic rtf files and images

    I'm creating a program that uses a richtextbox and saves to a rtf file. I'm ok with the whole saving and opening part, and can even copy and paste images into the file and save them, but I want to create an insert image button similar to that of Word where it pops up a box that allows the user to select the file they want to insert. Any suggestions The My namespace is used to provide easy access to common classes and methods for application manipulation: http://msdn.microsoft.com/vbasic/Reference/My/default.aspx <called My, provides access to information and default object instances that are related to the application and its run-time environment. > ...Show All

  • Visual Studio Express Editions "Name 'X509Certificate2UI' is not declared" error

    I'm trying to work with a sample of code from MSDN. One of the lines from the code is: Dim collection As X509Certificate2Collection = X509Certificate2UI.SelectFromCollection(fcollection, "Select an X509 Certificate" , "Choose a certificate to examine." , X509SelectionFlag.SingleSelection) VBEE is complaining about X509Certificate2UI and X509SelectionFlag. I've imported " System.Security.Cryptography.X509Certificates", which defines these names. I've used the Object Browser to check that they are there. However, Intellisense doesn't list them if I try to type it manually to see what is available, and I can't get the code to build. --Philip "S ...Show All

  • .NET Development Countdown Timer

    I can't figure out how to make a timer countdown rather than counting up, I know that it has to do with System::DateTime::Subtract. I have a DateTimePicker, and I want the timer to start right when you change the value of the DateTimePicker, and I want the countdown to be counting down from the value I choose. For example if I choose August 14, 2006 on the dateTimePicker, I want the timer to be counting down from that date. Try this: System::TimeSpan diff = System::DateTime::Now.Subtract(dateTimePicker1->Value); label2->Text = diff.ToString(); You probably want to format it a little nicer, I'm sure you can figure that out... ...Show All

  • Windows Forms Datagridview: hang while scrolling

    Hi I am using datagrid control in my one form. In each 2 second I am repopulating datagrid data using timer control. Problem is : while i am keep scrolling datagrid and same time datagrid is getting repopulate. i.e. objDatagrid.datasource = objdataTable; This point of time datagrid's scroll bar is stop working and when I drag the scroll bar the datagrid getting resize. then after you can not scroll the datagrid. So please help me out what this is heppening and please help me out to find out soulution. Thanks Hi, The question is why are you repopulating at all Instead of bindind directly to the table, bind to a BindingSource object. Then, every 2 seconds, do the processing directly in ...Show All

  • Visual Studio Team System Filter the AssignedTo column in work items

    Is there a way to filter out the users that is populated in the AssignedTo data type on work items I have tried to use the Process Template Editor where I opened up the details Assigned To field, went to the Rules tab, then the Constraints tab, and on the middle of that form there is a checkbox for "Valid User" and the dropdown allows you to select a group. When I select a group and save it back to the server, nothing changes in Visual Studio. And if I go back and edit the same field in the PTE the group dropdown list is empty again. Is this a bug with TFS or PTE Maybe I could try and edit the process template manually on the TFS server Edward Smit have posted a solution for this on his bl ...Show All

  • Windows Live Developer Forums message

    omi recieved a message..if yiu have upgraded to a new of the msntb_toolbar_full_name and have not restarted your computer since the upgraded/pl try restarting your computer.if the problem persist re install the msntb_toolbar_full_name....what should i do ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. "Programming RolePlaying Games with DirectX" help

    Has anyone else read this book I am a current student at the Art Institute and recently purchased this book. The code they have is based on DirectX9.0b, so it requires a lot of changes from IDirect to ID3X...and I just started learning DirectX with this book. I'm just wondering if anyone else read this book and were able to confront those errors. Anyone know any good resources to learn DirectX9 and/or tutorials on creating an ideal DirectX wrapper. Thanks, Umesh Actually it's DEPRECATED.  If I can help just 1 person each time I say this, maybe eventually I will reach everyone and people will stop correcting me when I actually say it correctly. ...Show All

  • SQL Server Retrieving Hierarchy Captions from a Cellset

    I'm trying to retrieve the hierarchy caption(s) for a given axis in a cellset, but whenever I try to retrieve this: cellset.Axes(0).Set.Hierarchies(0).Name I get an exception like this: System.ArgumentException was unhandled Message="The '[Date].[Calendar Quarter]' object was not found.\r\nParameter name: uniqueName" Source="Microsoft.AnalysisServices.AdomdClient" ParamName="uniqueName" StackTrace: at Microsoft.AnalysisServices.AdomdClient.CubeDef.InternalGetSchemaObject(SchemaObjectType schemaObjectType, String uniqueName, Boolean retryUniqueName) at Microsoft.AnalysisServices.AdomdClient.AdomdConnection.GetObjectData(SchemaObjectType schemaObjectType, String cubeName, String uniqueName) ...Show All

  • Software Development for Windows Vista Can not read downloaded 6.0.5536.0.2.WindowsSDK_Vista_RC1.DVD.Rel.img

    Running XP2 I burned 6.0.5536.0.2.WindowsSDK_Vista_RC1.DVD.Rel.img as an .iso onto a DVD but under Vista RC1 (5600.16384 o6-08-29 22:30) all I can see is one file ReadMe.T which says This disc contains a "UDF" file system and requires an operating system that supports the ISO-13346 "UDF" file system specification. Tried to load Nero 6.0 onto Vista; but Nero won't load onto Vista and Ahead still does not have Vista drivers. Tried WinImage to read the downloaded .img renamed to .iso directly and, as above, all that is visible is the ReadMe.T file. Same results with ISOBuster. Tried to check the CRC of the downloaded .img with the suggested tool on the SDK download page. The instructions are <quote> To ...Show All

©2008 Software Development Network