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

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

xr280xr

Member List

Hemant Kumar
xlordt
Kay-Davis
Jon Uk
Option
abrewerton
Roxy1980
xecoy
kuwi
ReneeC
Annihil8
mig16
SylvirCoder
Jeremy Schneider
Michael Baxter
Dat23
crash33
Northern Rob
GMan5309
A.Carter
Only Title

xr280xr's Q&A profile

  • SQL Server problem Passing Multi value parameter to a .NET assembly

    Hi, I've created a dll using VS.NET C# with a functions name "public static DataSet GetMOObservationPoint(string moNo, string codes , DateTime startTime, DateTime endTime)". In my report, i allow the user to multi select the codes (Example: cutting, sewing, packing). And when the multi selected parameter is passed to the dll, it will then split the codes by the delimiter(which is the ",") and then add the parameters to a ArrayList. I've also tried public static DataSet GetMOObservationPoint(string moNo, Object[] codes , DateTime startTime, DateTime endTime) but it won't work. I hope all the guru out there can lend me a helping hand. Thanks in advance If you call ...Show All

  • Visual Studio Tools for Office regarding deploying

    Hi experts i created a add-in. i wants to deploye it with some prerequisites like .net frmawork2.0, office pias. i wants to create a msi which will find out the prerequisite component ; if not installed than it should install automatically. with boot strap i am doing that with setup.exe; but i wants to do that with msi is there any way Thanks in advance There is a deployment whitepaper published that will get into the details of creating a setup and deploying prerequisites. You can find the whitepapers discussed in the following forum thread: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=209694&SiteID=1 Thanks. ...Show All

  • Visual Studio 2008 (Pre-release) Great resource Troy!

    I've been looking at different linq resources to keep up with the direction of the software industry and found your site extremely helpful. Those of you looking for a lot of information, well organized, in one place should check it out: http://www.hookedonlinq.com Jeff Thanks Jeff, I was trying to fly under the radar for a while until i filled out some more content and made sure the wiki engine was stable. There is a lot more information to go up. I've got code samples and unit tests for all of the standard query operators; LINQ to Objects will be looking good then. I need to do a lot of work on LINQ to SQL information, and i've got nothing on LINQ to Entities at the moment. Anyway, its a start, and hopefully as LINQ ...Show All

  • Software Development for Windows Vista Shell Extensions?

    In Vista Beta 1 our shell extensions worked but in beta 2 Build 5384 it no longer works. I found some mention of Like all COM objects, Shell extension handlers must implement an IUnknown interface and a class factory . Most must also implement either an IPersistFile or IShellExtInit interface in Windows XP or earlier. These were replaced by IInitializeWithStream , IInitializeWithItem and IInitializeWithFile in Windows Vista. The Shell uses these interfaces to initialize the handler. In some msdn documentation but I can't find any samples. Anyone have any information Thanks. If you wrote your context menu correctly, none of the Vista changes should affect you. The Vista changes only affect people who wrote the ...Show All

  • .NET Development OLEDBException: Timeout Expired error

    Hello there, I'm getting this error "Timeout expired" with Gridview control connection to an SQL2000 DB. I drag & drop a gridview control and configure the connection string to the database and one table. If I preview it, I can retrieve all the data. But if I run the the application, I am getting this error. I didn't do any coding in here. I am using Visual Studio 2005 (VB.NET) in Windows XP Professional OS. I want to develop a Windows application. Please help. Thanks very much. A Set you command object's commandtimeout property to zero. That would bring in data to grid with unconditional wait for getting data. That usually happens when network is down. Thanks ...Show All

  • Visual Studio 2008 (Pre-release) Can you create and view glassy apps on XP?

    Can you build applications for XP that use the new glassy windows Of course the end user would have to have the runtimes installed. But how can I create a window with that style Thanks Lee I actually was able to figure it out. But it would be great if someone could take a look to see if there is a better way to do it. http://thewpfblog.com/ p=27 Lee ...Show All

  • .NET Development Browse image's pixel

    Hi, I have to get the value of each pixel of an image to do some comparaison. I used the class Bitmap and i loaded a 800x600 image. It takes me 20s to browse all pixel. (i used the method getpixel in a double for statement) I want to know if there is a class, or an other method to do this faster (around 1s would be perfect) Thanks David If you are doing this C# you could try a little Unsafe Image Processing . ...Show All

  • SQL Server Keep Detail Rows in the Same Page

    I am using SSRS 2005. Is there a way not to seperate details Row 1 and details Row 2 (within a same record) into 2 pages I just want to keep them in the same page. I tried table KeepTogether but doesn't work. Thanks. ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Need a pbuffer overview

    Could somebody please point me to an overview on using pbuffers in DirectX (Or if they go by another name in the DirectX world, please let me know.) Google search is being surprisingly useless, getting details but no overview. In particular, I want to know how to: 1. Render to texture and then apply that texture to something. 2. Render to texture and then read that texture back into main memory. Example code would also be appreciated. Thanks, Ken There is no pbuffer analog in D3D. Actualy OpenGL PBO extention is replica of DirectX mechanism of rendering to texture. Simplest code in SDk that uses this functionality (creating textures possible to set as render target and actually setting them by SetRenderTarget) is Blobs. ...Show All

  • SQL Server string variable size issue

    I have to send an email using a variable as message body... the variable gets its value from database varchar(8000). Due to limited size of string variable in SSIS the value gets truncated. Any workaround Thanks hellomahesh, Books Online states that expressions have a maxium length of 4000 characters ( http://msdn2.microsoft.com/en-us/library/ms141085.aspx ), but the variable string type is a .NET string with no such limit. Is it possible that the query, stored procedure, data provider, or e-mail server is truncating the string You could try to add a Script Task between the task that is setting the variable and the Send Mail Task, set the read only variables property to the variable you are using in the Send Mail Tas ...Show All

  • Windows Forms C# namespace...

    Hi, i'm writing a shell extension in c# that will add two menu's to the right-click menu of explorer. Here is the problem. If i select one file and use the standard OPEN context menu all is well, but if i select two or more files and use the standard OPEN context menu it seems to want to run through the code for MY created menu. Here is the code in question: int IContextMenu.QueryContextMenu(uint hmenu,uint iMenu, int idCmdFirst,int idCmdLast,uint uFlags) { // The first id to use (should be 1) int id = 1; if ((uFlags & 0xf) == 0 || (uFlags & (uint)CMF.CMF_EXPLORE) != 0) { // Create a new Menu Item to add to the context menu MENUITEMINFO mii = new MENUITEMINFO(); mii.cbSize = 48; mii.fMas ...Show All

  • Visual Studio Express Editions How do I

    Hi, How do I get a form that I have designed to do the following: Take the data from 5 seperate input boxes (5 seperate text boxes used for input) and output the largest and smallest number to seperate output boxes (2 seperate labels used for output). If the user inputs a number in each box for example 25, 15, 75, 45 and 67 and then clicks my button "Find" I want the largest number to go in the largest output label and I want the smallest of them to go in the smallest output label. How do I code my button to take these 5 input numbers regardless of their order and output only the largest and the smallest of the group of numbers I hope someone understands what I am asking. Thanks, DC Novel solution..... ...Show All

  • Visual C++ Templates Error

    I using visual C++ 2003 as a IDE and I'm trying to work through Jesse Liberty's Learn C++ in 21 days I have reached chapter 19 without problems. But I can't seem to create a friend operator that overloads the << operator I keep getting the error: error LNK2001: unresolved external symbol "class std::basic_ostream<char,struct std::char_traits<char> > & __cdecl operator<<(class std::basic_ostream<char,struct std::char_traits<char> > &,class Array<int> &)" ( 6@$$FYAAAV $basic_ostream@DU $char_traits@D@std@@@std@@AAV01@AAV $Array@H@@@Z) Can anyone tell me how I can compile fix the error Below is the source code: //Listing 19.4 Using Operator ostream #include <iostream> using ...Show All

  • Visual Studio Express Editions Multiple check boxes in a listview

    How can I have multiple check boxes in a listview entry I need a listview like the one used when right clicking a folder in Windows Explorer > Security tab. Possibly something like an icon in the frst column, text in the second and check boxes in the next 3 columns. Thanks for any help. Iain Have you tried accomplishing this with a DataGridView If not, add one to the form, right click it and select "add column". You should then be able to add bound/unbound columns with images, checkboxes etc. Let me know if it works for you... ...Show All

  • Software Development for Windows Vista State workflow bug

    Can anyone else verify this bug https://connect.microsoft.com/wf/feedback/ViewFeedback.aspx FeedbackID=171215 It's very basic - a state workflow won't correctly handle HandleExternalEvent if it's in an EventDriven which is at 'workflow' level, rather than inside a specific state. It will handle HandleExternalEvents if they are inside a state & eventdriven though. I have an example file if anyone wishes to look. EDS does throw an exception - its just that it catches it and doesn't consider it "fatal" so it eats it. Here's how I did it. First - on Tools-Options-Debugging - I disable "Just My Code" (this is the stupidest default they've ever put in VS IMO). Then bring up the exceptions dialog (Ctrl-Al ...Show All

©2008 Software Development Network