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

Software Development Network >> Nic-Gun's Q&A profile

Nic-Gun

Member List

kforrey
CFIG
kcchesnut
battlestar 2007
Alex Farber
Adminanup
NILKAMAL
pRtkL xLr8r
JasonFx
bitbonk
Floppy_pillow
mfenske
luzippu
PerPixel
rmcmullan
Bulldog.NET
Wendell G
Bystrik
Dave9999
shuhada
Only Title

Nic-Gun's Q&A profile

  • Software Development for Windows Vista NEC ND 4550 DVD+-RW on Vista X64 RTM

    Vista X64 failed to recognize the drive. . It's an IDE drive but I connected it through a IDE-SATA converter. It worked fine on a Vista RC2 X86 though. Anybody has the same problem Hello weiqj, This is a technical configuration issue, I would suggest reposting your question in the TechNet Hardware Forums at: http://forums.microsoft.com/TechNet/ShowForum.aspx ForumID=714&SiteID=17  to receive the best response as this forum is geared more towards developers.   Thanks! Matthew Braun ...Show All

  • Visual C++ Converting 64-bit number into string

    Hi everybody, I need to convert an unsigned long long number (64 bit) into string with C++ 2005. The number for example is: 13057201162865595358. I want to write this value in a text file, but when i try to use ultoa to convert the number the result is 292279262. Here is the code: unsigned long long mt; char buffer[64]; mt=13057201162865595358; ultoa(mt,buffer,10); The result in "buffer" is the number mentioned above. Anyone can help me Thank's in advance Andrea Your input number 13057201162865595358 is more than 8 bytes. ultoa can only convert 4 byte numbers. You can convert 64 bit numbers using _i64toa. using namespace std; int _tmai ...Show All

  • Visual C++ Why can't this compile?

    #include <map> #include <algorithm> #include <iostream> using namespace std; typedef pair<double,pair<double,int> > PQueuePairType; typedef map<double,pair<double,int> > PQueueType; typedef PQueueType::iterator PQueueIterType; bool pQ_lesser ( PQueuePairType elem1, PQueuePairType elem2 ) { return (elem1.second.first < elem2.second.first); }; bool operator == ( PQueuePairType elem1, PQueuePairType elem2 ) { return (elem1.second.first == elem2.second.first); }; int main() { PQueuePairType p1(0,pair<double,int>(1.2,0)); PQueuePairType p2(1,pair<double,int>(1.2,0)); cout<< (p1 == p2); PQueueType q; q.insert(p1); q.insert(p2); cout<<( find(q.begin(), q.end ...Show All

  • SQL Server Meta Data Services SQL 2000 "msdb database could not be opened"

    Hello anyone / everyone, If you are having trouble accessing Meta Data Services on W2k3 and SQL 2000 and get the error that the "msdb database could not be opened" I found that hot fix 912812 on the operating system is the culprit. Remove it and Meta Data goes back to working, although I am being asked to approve the ActiveX control every time the page refreshes. Hope this helps somebody, to took me long enough to track it down. If anyone has a resolution to the ActiveX question I'd love to know the answer. Thank you, Uncle Davy That would seem the logical choice. However, I tried permitting every activeX and it was still giving me the error! ...Show All

  • Visual Studio Change Order of Methods / Properties / Fields / Events

    Hi all - Five minutes into my first use of Class Designer and I can't figure out something as simple as changing the order of diagram items... I've tried changing the order in the source code, but that doesn't seem to have any affect on the diagram. Any suggestions Thanks ~ jp Hi Apuhjee, Absolute positioning of class members inside a shape isn't a supported feature. I agree it'd be nice to have though. Part of what makes this a little more complex to support is persisting the customizations, and getting the diagram to reload reliably in the face of code edits (member renames, deletions, etc) that may have occurred while the diagram was closed (or checked out). Not an insurmountable problem ...Show All

  • Software Development for Windows Vista Vista Certification Test Cases V1.2 Test Case 18

    Hi, Test Case 18 states "the Upgrade Code in the Upgrade Table must be identical to the Upgrade Code in the Property Table. This means the application properly prepared for upgrade to address the previous package and properly prevent an older package from installing over a new package.” Apart from the wording being slightly off We're not sure why we would need to list the Upgrade code from the property table in the Upgrade table for the same installation. My understanding was that the Upgrade table was for Major upgrades where the product code had changed. Could someone clarify why this is a requirement and what the benefits are Regards Matthew: Maybe I'm missing something but it does not look like you an ...Show All

  • SharePoint Products and Technologies Images in Wikis

    Is it possible to paste images into a Wiki We tried to copy content from a Word doc that contained some screen shots and paste it into a Wiki. None of the images copied over. What happens is the text copies over fine, but it does not copy over the images. It just leaves a blank where the image should be. Any ideas I got it to work. You need to save the Word doc as a "Web Page, Filtered" html page. Open that page in IE, copy the contents and then past it into the Wiki. ...Show All

  • Visual C# Starting windows service

    I'm made one windows service which serves as a remoting host, but I can't run it! I built it, called installservice mywindowsservice.exe It said me that is successfully installed, but now I don't know how to start it.... I can't find it in services list... What am I doing wrong I figured out a part of my problem (I didn't have serviceinstaller included) But, now when a call installutil, it asks me for some username and password! What is it ...Show All

  • Visual Studio 2008 (Pre-release) Using Images and/or Accessing a ControlTemplate Item in a Custom Control

    I have a custom control with a simple Image object in the generic.xaml: <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:local="clr-namespace:Logo_Asset" > <Style TargetType="{x:Type local:Logo_Asset}"> <Setter Property="Template"> <Setter.Value> <ControlTemplate TargetType="{x:Type local:Logo_Asset}"> <Image Name="LogoImage" Source="Resources/the_image.bmp"/> </ControlTemplate> </Setter.Value> </Setter> </Style> </ResourceDictionary> The image exists in the project in the resources folder and its build action is set to "Resource". The custom cont ...Show All

  • .NET Development ArrayList & DataSet...

    If I have a Dataset with one table in it... I want to convert the columns of data in it to an arraylist How would i go about doing such could i just iterate through them...like foreach(ds.tables[0].rows[0]; in "dataset") { ArrayList.Add("datasetvalue") } can anyone point me in the right direction DataTable cannote be converted to and Int is the error i am getting.......I want to add every row of data to the Array list instead of the column name....what am i doing wrong .....do i need to assign each row to a string and add the collection of string objects ArrayList _ol = new ArrayList(); System.Data.DataSet _dsOrderLeg = new DataSet(); string sql = System.Conf ...Show All

  • Visual Studio Express Editions Where is the download?

    can anyone help, I need to know where to download and install new templates. Is it even possible to get more other than starter kits with VB 2005 Express Example: Web Service or Setup.exe for microsoft installer Thanks! The Express Editions are by their very nature limited compared to the higher versions and one of the key areas that they are is in the area of add-ins. In order to build a Web Service in Express you would need to use Visual Web Developer and for MSI style setup programs you are pretty much out of luck as that is only available with the higher versions of Visual Studio. If you do need an another kind of installer and aren’t happy with what the automatically available ClickOnce provides, take a look ...Show All

  • SQL Server Login to SQL Server management studio

    Hi, I am facing a strange behavior during loging in to SQL server mangement studio. Whenever I install SQL server express, various protocols like Named Pipe and TCP/IP and SQL browser are disabled by default. But still I am able to log in to SQL Server throguh Management studio. But when I try to log in to SQL server throguh one of my applications, it allows me to log in to it only for one time. From next time onwards, I am not able to log in to SQL server neither through my application nor through Management studio. I connect to SQL server using "machine name"\"Instance name". Machine name is the name of machine on my office LAN. PS: Once this problem occurs, I can log in to SQL server if I use "loc ...Show All

  • Windows Forms Icon from path in treeview

    Just would like to know how to do that (the icons) http://miranda.predialnet.com.br/imagens/iniciarewido.jpg In my app i did: http://miranda.predialnet.com.br/imagens/iniciar.jpg You could always extract the icons from the EXEs (you can do that with Visual Studio--don't know if all versions have this ability--by loading the EXE in VS via File/Open and select Open With... from the Open buttons drop-down and "Resource Editor". In the resource editor expand the Icon leave, right click the icon you want and select "Export...". Then you can load those files into your ImageList and they will be deployed with your EXE. Bear in mind, those icons are probably copyrighted and you don't have ...Show All

  • Visual C# help with structs and arrays

    Hello, I'm something of a C# neophyte, and I have the following problem. I'm trying to set up two arrays inside a struct: public struct Person { public int[] second; public int[,] response; } Then I want to declare the arrays, second = new int[actionwidth]; response = new int[actionwidth,actionwidth]; but then I get an error saying that response and second "do not exist in the current context". I presume this is because response and second are in the scope of Person. How can I declare these arrays Thanks for any advice. It would help if I knew what you're trying to do so I could have an idea of a possible implementation t ...Show All

  • Windows Forms DataGridBind to a BindingSource which contains custom class

    Dear Community, I have difficulty getting Datagridview to display a DataGridViewCombobox. Generally, i have two DataGridViewTextBoxes and a DataGridViewCombobox. The datagridview datasource was binded to a class called Item. Item object contains variable such as promotion, id, name and and it contains properties, so the data would automatically bind to the datagridview. The datagridview was autogenerated by the wizard and the DataGridViewComboBox read from DataPropertyName = Promotion public int ID { get { return _ID;} } public string Name { get { return _Name;} } datagridview have no problem showing the above variable, except for the DataGridViewCombobox. I dont know what r ...Show All

©2008 Software Development Network