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

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

Machie

Member List

Frank Zehelein
tenchyz
Corres
Mitch5713
sunny123
Kamii47
Biju S Melayil
mh1hep
JeZteRicp
OldCDude
Ion101
MunishGupta
ykgreene
wleizero
Helimees
Asifkhan75025
ricochett
Davids Learning
NILKAMAL
Peter Rook
Only Title

Machie's Q&A profile

  • Visual Studio Express Editions File System Tree View and Folder Contents

    I am trying to develop a program like Windows Explorer.  I have searched the forum a little and really have not gotten very many answers that I thought have 100% answered this.  I do not know how to display file structure.  I would like to be able to maniulate files in the Folder contents pane and navigate with the Tree View pane.  Anyone have any good links or source   Thanks. You will have to use the System.IO name space and the DIrectory and File classes pseudo Dim cFolders () As String = IO . Directory . GetDirectories ( "C:\" ) For Each s As String In cFolders Dim di As New IO . DirectoryInfo ( s ) Dim NewNode As TreeNode = Me . TreeView1 . No ...Show All

  • Visual Basic Failed to import ActiveX control

    I am using VB2005 express and VC#2005 express. With my old friend VS2003, whenever i needed to add flash to my WInforms, all i needed to do was to add the control as a com component and drag it on the stage from the toolbar. Now, when i did the same in new express version, althogh it is added in the toolbars and the references list, but still, whenever i try to drag a shockwave flash instance on my win form, i get the error: Failed to import ActiveX control, please ensure it is properly registered. does some one have any idea how to add flash comntrol as we used to do in earlier versions Please reply this ASAP. Thanks and regards. Syed Mazhar Hasan as you guys I am presenting the sam ...Show All

  • SQL Server SQL Server 2005's sysperfinfo return Null !

    When I want to get the SQL Server 2005's some performance from the sysperfinfo table using "select * from sysperfinfo", I found that it returns null. Why How can i get the values like sysperfinfo in SQL Server 2000's sysperfinfo Thanks a lot. Thanks for your help. The result of 'select * from sys.dm_os_performance_counters ' is still null. What's wrong I am waiting for your help. By the way, the version of SQL2005 is 'Microsoft SQL Server 2005 - 9.00.2047.00 (Intel X86) Apr 14 2006 01:12:25 Copyright (c) 1988-2005 Microsoft Corporation Enterprise Evaluation Edition on Windows NT 5.0 (Build 2195: Service Pack 4) ' ...Show All

  • Software Development for Windows Vista Intel(R) PRO/100 Network Adapter

    Hello Microsoft Support!    After download new beta version of Vista 5728,...    I have a new big problem. When I install driver for my network card, I need to install Intel(R) Advanced Network Services Virtual Adapter for enable specials futures of my network card. After installation in properties of network card will be new specials settings. But I don't see this futures. With out this options I can't configurate network VLANs on my computer to connect MAN.    Help!!! I really need in this subject.    Intel installation package for my card: ...(link deleted)... Good bye! LKharlamov from this posting can we assume you are up and running Louis Shanks AppCompat ...Show All

  • Visual Studio Express Editions VB 2005 Express - Included tutorial/example not working

    I just got a free copy of VB 2005 Express: Microsoft Visual Studio 2005 Versione 8.0.50727.42 (RTM.050727-4200) Microsoft .NET Framework Versione 2.0.50727 Edizione installata: VB Express I’m doing the beginner’s guide which is included in VB. Ibeing mainly interested in database management I tried the “FirtsDatabase” guided creation and after that the “Addresses” guided creation wich uses the FirstDatabase.mdf database. Everithing went fine till the end, but once I tried to add a new record or change the content of an existing record the variation are not saved in the database. It seems that either the “save” icon in the toolstrip and the “save on form closing” do not work. Which means that the “Upda ...Show All

  • SQL Server Zero converted to null

    I have restore a SQL Server 2000 database in SQL Server 2005. I have a web aplication that uses dll to talk to the database using ODBC - SQL Native Cliente provider. I have a table with a key integer not null. The first element of my table has a key = 0. When the asp page recive the record set the value of the key field is null, why If i use the query directly in the SQL Server the value of the key is 0. Please help. Hi, thats really strange. Check your query in your frontend if you really did not request the second value. The SNAC does not rewrite queries on his own, there must be a difference in the queries. HTH, Jens K. Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All

  • .NET Development Overridden properties and Xml Serialization Question

    I've got a situation where I want an overridden property in a derived class to use a different xml element tag than the base class uses. Actually, that is my entire reason for overriding in the derived class and I'm getting the following error: Member '.ContentId' hides inherited member 'MediaInfo.ContentId', but has different custom attributes. The funny thing is that this is presented as an error, when it is actually a perfect description of the behavior I desire. Is there any way to achieve this or is this an inherant limitation of the Xml serializer Code sample below: class A{ [System.Xml.Serialization. XmlElementAttribute ( "content-id" )] public string ContentId {....} } class B : A{ [Sys ...Show All

  • Visual C++ Best practices: marking threads as answered

    Just a friendly reminder to make sure you mark threads as answered if 1. you are reasonably certain that the thread has been answered, or at least the original poster is getting sufficient attention, 2. the thread has gone stale, or 3. the post has been deemed off-topic.  The reason for this is to encourage others to read a thread that still needs resolution. Thanks. Brian   My opinion is just my opinion, so please don't think you must do what I say. Even if I say you must, I mean that as a suggestion. In my opinion, in the example you provide, it is likely that it would have been better to ask a new question. I don't know the details so it is your descision as to what is appropri ...Show All

  • SQL Server ReportViewer use in .Net 3.0/WPF?

    Hello, We are working on a WPF/.Net 3.0 based application and have some reporting needs. Is it possible to host the WinForms ReportViewer control in WPF context I have learned that WinForms controls can be hosted using WinFormsHost, but I wasn't sure about ReportViewer control sicne it's not really part of the .Net framework (I could be wrong about this). I appreciate any help/advice. Murthy Thanks for the info. I've been waiting for the bug fixes because installing the Report services on SQL 2005 in Vista is not particularly successful. ...Show All

  • Software Development for Windows Vista socket bind fails under vista

    ive got a program im trying to get working under vista, which works fine under XP. In particular its part of the enet network library heres the code snippet: ENetSocket enet_socket_create (ENetSocketType type, const ENetAddress * address) { ENetSocket newSocket = socket (PF_INET, type == ENET_SOCKET_TYPE_DATAGRAM SOCK_DGRAM : SOCK_STREAM, 0); int nonBlocking = 1, receiveBufferSize = ENET_HOST_RECEIVE_BUFFER_SIZE; struct sockaddr_in sin; int bindResult = 0; memset(&sin, 0, sizeof(struct sockaddr_in)); if (newSocket == ENET_SOCKET_NULL) return ENET_SOCKET_NULL; if (type == ENET_SOCKET_TYPE_DATAGRAM) { ioctlsocket (newSocket, FIONBIO, & nonBlocking); setsockopt (newSocket, SOL_SOCKET, SO_RCVBUF, (char *) ...Show All

  • Software Development for Windows Vista COM interop call fails from Windows Service

    Hi! I have a Windows Service that makes a COM interop call to a VB6 COM object. The call fails with the following error: Unable to cast COM object of type 'Project1.Class1Class' to interface type 'Project1._Class1'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{11B12816-2495-46DA-B537-70E50BB62F45}' failed due to the following error: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)). It works on my XP box, but I get the error on the Server 2000. The user that runs the service is a domain account that has admin rights on the box. We have also tried making an exe that makes the exact same call to the COM object, deployed it to the server, logged in wit ...Show All

  • Commerce Server Commerce Server Deployment Nightmare

    With my development about 1/2 done, I have been interested in moving what I have to a test environment, and I am having a horrible time. Here is the problem: The web server that will host the Commerce Server application will be on a separate server than the databases. I installed Commerce Server on the web server without event. I also was able to configure the databases so that the MSCS_Admin and CatalogScratch databases were created on the right server. Here's where the fairy tale ends however. The installation instructions say to then unpack the CSharpSite pup package. Well, since I don't want to use the default ootb site, I instead unpacked MY packaged site from my development machine. Again, the databases were created on the correc ...Show All

  • Visual Basic Adding image to Project (and retrieve them in debug mode)

    Hi, I have a picturebox where I show a gif file. If I add the image using the 'image' property in the Properties tab, everything is ok and I see the image when I debug. However, I want the image to change depending on various actions from the user. Therefore I do like this : PictureBox1.ImageLocation = Application.StartupPath & "picture01.gif" When I run in debug mode it can't find the image, even though I have added the gif in my project. Why doesn't the debugger copy the image to the debug folder If I manually copy picture01.gif to the debug folder, then it is displayed ok. How to let the debugger 'copy' these pictures (and folders if that's needed) into to the debug folder I found ...Show All

  • SharePoint Products and Technologies Can i save my changes back to server

    Based on Unsupported Features in Excel Services I know I cannot author an Excel workbook using Excel Services. However I want to know more about it: If i make a changes to an excel workbook using Excel Services.Can i Save the changes back to original workbook on server Hi, I have been able to save changes back to the server by accessing the byte array using the getworkbook method, then opening the published excel worksheet via the MOSS object model, and then saving the byte array onto the worksheet by passing it(the byte array) to the savebinary method of that excel file object. byte[] excelByteArray = excelService.GetWorkbook(sessionId, WebPartLibrary1.ES.W ...Show All

  • SQL Server The best Data Transformation tool to Update/Insert

    Hello, I have some data coming up from an SQL Server source, I have to add it to another SQL Table on the basis of what destination table already have. For instance, if there is already an entry there for particular record (based on matching primary key value), then I just need to updated 3 columns, otherwise need to insert. The problem is, I know how to do it by using script component, but I am wondering if there is a better tool that saves me writing code Any idea Thanks, Fahad   slicktop wrote: so what does the lookup query look like does it have to cache in all the rows from the target table, or does it join to the source to filter the set down to those rows that match Well, both, sort of. Typically, in this scen ...Show All

©2008 Software Development Network