Topics
-
- 1 reply
- 2.8k views
Hi Al,, I have a query that returns a set of results with 7 records as seen below. What I'm looking to do is to combine those 7 records into one record. The only differences are the values in "Value X" field. http://cgdesign.net/images/sql.jpg Thanks in advance, -Chris
Last reply by joe_pool_is, -
- 1 reply
- 1.1k views
See also, XVBT Hi, I use: Dim MyArray() As String = = EmailMessage.GetHeaderField("Disposition-Notification-To") EmailMessage is a 3rd party component, now it may or may not have anything, so the array is null/nothing in that case. In that case, any operation on array will return System.NullReferenceException Even if I want to check if the array : If MyArray IsNot Nothing or If MyArray.Length = 0 All will result in System.NullReferenceException How to check such an array at all? Thanks.
Last reply by joe_pool_is, -
- 0 replies
- 4.5k views
Hi, Basically, I really like the idea of ClickOnce, it's a really cool tool that I'd love to use. I've tried, but am having troubles. Firstly, is it actually possible to deploy an application that uses SQL CE 3.5 Databases with ClickOnce? If so, then here is the error message I get once it's deployed, and I go to install it from the designated web location: "Cannot install the application. Some required files are missing." In the 'Details' tab is the following: PLATFORM VERSION INFO Windows : 6.1.7600.0 (Win32NT) Common Language Runtime : 4.0.30319.1 System.Deployment.dll : 4.0.30319.1 (RTMRel.030319-0100) clr.dll : 4.0.30319.1 (RTMRe…
Last reply by nickjf89, -
-
- Leaders
- 6 replies
- 5.1k views
Hey all, I'm trying to use FindWindowEx() to get a handle to the Calculator buttons. I'm using this code to drill down through the levels, which works fine until I get to the button level: hwndFrame = FindWindowEx((IntPtr)hwnd, IntPtr.Zero, "CalcFrame", ""); hwndDialog = FindWindowEx(hwndFrame, IntPtr.Zero, "#32770", ""); hwndButton = FindWindowEx(hwndDialog, IntPtr.Zero, "Button", "2"); The top two lines populate the handles just fine, but the third does not. Anyone got a clue as to why it's returning nothing for the button handle? I'm using Window Detective to obtain the UI information and it lists "Button" as the class type, how…
Last reply by blackandwhitebg, -
-
- 0 replies
- 1.8k views
I am starting on an app that I'd call a "configurator", but searches on that term hit an area unrelated to my need. The quickest example I can come up with is customizing a PC purchase at Dell: -- Select a base model -- Select case options -- Select internal options (e.g. CPU) -- Select modules -- Select accessories and add-ons ... -- Construct sales order with line items and pricing As with configuring the computer, some selections depend on others. In my app case, an industrial control system is ordered "semi-custom": Select a base system; select a case; select input modules; select output modules; select connectors; select external add-ons ("accessorie…
Last reply by theusch, -
- 0 replies
- 2.6k views
I've recently been playing around with some of the Windows API's and I've noticed a rather strange issue when using NetServerEnum. One of the parameters it takes is "level" which a SERVER_INFO type which can be 100, or 101. You can take a look at the MSDN example here. http://msdn.microsoft.com/en-us/library/aa370623(VS.85).aspx It would appear that type 101 does the exact same thing as 100 but just returns a more detailed result set. However, upon examination, I'm noticing that the platformID is different depending on which type you pass in. PLATFORM_ID_DOS = 300, PLATFORM_ID_OS2 = 400, PLATFORM_ID_NT = 500, PLATFORM_ID_OSF = 600, PLATFORM…
Last reply by Simcoder, -
- 0 replies
- 1.5k views
I have never worked with dot net... this is my first project that I will be working on... What I need is a Web browser which executes the T-Sql stored in XML file and the output is shown in the browser.... There will be a node and when I select that node it should run a tsql in XML file and show the output in the browser... hope I am making any sense? I was told to use ASP.net and C#... guys I am sorry if I am very vague as this is my first dot net task. Thanks a lot for taking time to assist me.
Last reply by GhantaBro, -
- 0 replies
- 1.7k views
Re: Export dataset to Ms Access .mdb file Hi, to everyone. I have a problem exporting my XML file with an error: System.Runtime.InteropServices.COMException not handled ErrorCode=-2147467259 Message="La dimensione di un campo è eccessiva. " translated is more or less: the size of a field is too big Source="Microsoft JET Database Engine" I use VS 2008 and use as reference: Microsoft ADO Ext. 6.0 for DDL and Security (Interop.ADOX) 6.0.0.0 adodb.dll 7.0.3300.0 I use as string field a lot of nvvarchar(max) that my XML translate in <xs:simpleType> <xs:restriction base="xs:string"> <xs:maxLength value="2147483647"/> </xs:res…
Last reply by Lucedoriente, -
-
- Administrators
- Leaders
- 9 replies
- 2k views
Hi I have a strange problem that has just started to happen, when I run a program in VS to test it, if it comes to an error instead of stopping and reporting the error it ignores that section of code and carries on. Is there an option in VS that allows it to do this, something like ignore errors, had a look but nothing jumps out. Thank you.
Last reply by pendragon, -
-
- 0 replies
- 1.2k views
How to stream images from server to client in web applications
Last reply by shweta1986, -
-
- Leaders
- 3 replies
- 4.4k views
Do anyone has any idea of how can I drop files to another app in the background? I have found that it can be done with SendMessage WM_DROPFILEs, but I don't know how to structure the wParam. I also found this on MSDN http://msdn.microsoft.com/en-us/library/bb773269%28VS.85%29.aspx But I still don't have any idea of how to do it, I also found this code, but is for Delphi: procedure DoDropFiles(Wnd: HWND; Files: TStringList); var Size: Cardinal; DropFiles: PDropFiles; Run: PChar; MemHandle: THandle; I: Integer; begin // first determine size of string buffer we have to allocate Size := 0; for I := 0 to Files.Count - 1 do begin // number of chara…
Last reply by snarfblam, -
-
-
- Leaders
- 4 replies
- 2.4k views
I'm pretty much a .NET newbie, but am working through things OK. I'd like to create a panel that looks a lot like the Properties window in Studio. A list of "property" names, and an associated field to enter/modify the value. Example: I might have a list of products. When one is selected, I want to have this Property-like window have lines like Name PROD1NAME Cost 1.23 Color Green etc. I've seen the facility in other apps that look like they are .NET. I can't see how to coerce ListView or GridView or DataView or xxxView to create this. Is there a ready-made control for this? Or can someone point me to an example of a "Property window" im…
Last reply by snarfblam, -
-
- 1 reply
- 7.7k views
Seems Like I haven't been on this site in quite a while. I am using VB 2010 full version. As the title says. I having problems getting print preview to display the proper view in landscape mode. It stubbornly shows portrait. I am using the PrintPreview control in the hopes I can change printer setup information on the fly while in preview mode. Before I call a dialog containing the printpreview control I am setting PrintDocument.PrintSettings.DefaultPageSettings.Landscape = True Thus far I have less hair and no answers.
Last reply by Gruff, -
- 0 replies
- 7.7k views
Hello, I'm trying to match a regexp with table tags in an html. There are three tables in my page and I want to match each of them seperately. I'm using the followings regexp. This matches from the first tables table tag to the last tables closing tag. How can I make it to match seperately with all three. Html file looks like below Thanks
Last reply by enginaar, -
- 0 replies
- 1.1k views
I am creating a report in crystal 11 which I have to summarize interactions w/in a group by a distinct count in a group header. The first summarization is preforming a distinct count between a certain date range. The second, I would like to count beginning November 1, 2010. I would like to have on the same line for comparison purposes. I have attached a PDF detailing what I trying to do. The first column is the group, the second is a summary by a distinct count for the parameter being 11/3 8AM - 11/3 5PM. The third column I want to display the same count but beginning 11/1 8AM which will continue to accumulate each time I run this report (daily). How do I set up the …
Last reply by Ben12, -
- 0 replies
- 2.6k views
Hi there, first of all, excuse me if I have bad English but I'm not used to write in English (but google will help me, je). Well, I'm trying to call functions in the AET60.dll, which contains the API for AET60 BioCARDKey (finger print and smart card reader) with c#; actually, I have succesfully called almost every function, except for those that manipulate the finger print template: capture, match, enroll. I'm sure it's a problem of parameters types, but the problem is that I can't undestand the type of the template paramter, the dll function capture for example, expects a byte pointer (byte*) to save the template, I've tryed with ref, and unsafe code (for using poin…
Last reply by nimanga, -
- 3 replies
- 21.2k views
Hi. Let me explain the setup. I am using Visual Studio .NET to develop a sort of add-in (COM class) for Excel called SQLAddin. It basically queries a SQL server and pulls in data. Now within my Visual Studio Project, the SQLAddin references a compiled COM object built with Visual Studio 6.0 called SQLOld.dll. When I complie the project I get the following files in my \bin directory: SQLAddin.dll SQLAddin.pdb SQLAddin.tlb Interop.SQLOld.dll Within Visual Studio .NET I have set the project properties to "Register for COM Interop". The reason why I am mentioning the set up for the development for this project, is that this add-in works great on my computer. The VBA in…
Last reply by speedypcnet, -
-
- Leaders
- 2 replies
- 5.6k views
Hello, The line "result._response = LoginResult.INVALID_REQUEST;" throws an Unreachable code detected warning. What am I doing wrong? [WebMethod] public LoginResponse Authenticate(string username, string passwordmd5){ LoginResponse result = new LoginResponse(); if (DataBaseManager.CheckIPBan(Context.Request.UserHostAddress)) { result._response = LoginResult.IP_BANNED; } else { if (MAINTENANCE_MODE) { result._response = LoginResult.MAINTENANCE_MODE; } else { result._re…
Last reply by Schravendeel, -
-
- 0 replies
- 4.4k views
Hi, first of all, sorry for my English. The problem: I receive a lot of data from an inquiry and I need to create a Excel file using interop (c#). I write data in the Excel file using a "do while". Now I save the file at the end of the do...while statement, but it means that I used a lot of memory (I could have up to 9.000.000 of rows to write in different sheets in the same file). So I thought to save the data in the Excel file on every loop. I use the saveAs() command at the first loop and then save(), but I saw that program go very slowy with this solution. I think it is because the file is rewrite completely. There is a way to save only the new data? any o…
Last reply by mgb76an, -
-
- Leaders
- 3 replies
- 1.2k views
Hi, I get the directories like this: Dim DriveInfo As New DirectoryInfo("C:\") Dim DirInfo As DirectoryInfo() = DriveInfo.GetDirectories However, it returns all directories even system hidden ones. It seems that this just follows what I set in Windows for file and folder browsing, since I set the Windows to show all files, I think it's also showing all folders to me, I am not sure however. I just want NOT to get the system directories like Recycle Bin and System Volume Information, how to do that? Thank you.
Last reply by snarfblam, -
-
Who's Online 0 Members, 0 Anonymous, 62 Guests (See full list)
- There are no registered users currently online