Topics
-
- 1 reply
- 937 views
Hi: Has anyone noticed at points a control may stop performing a function it is supposed to...and then restarts? I know this is very broad and I would say that the programmer was doing something stupid (entirely possible <grin!>), but since I'm the programmer and one of my collegues is using the same control in the same manner, I thought I would throw this out and see if there are any responses. In this particular example, I'm using an infragistics combo box and the auto complete stops working (yes, I have already looked at their site...nothing helpful). However, I have seen similar things in other controls...kinda like when the intellisense on the ide quits w…
Last reply by ehelin, -
- 0 replies
- 1.5k views
I have an app that pulls data from a SQL server over any data connection (activesync, wifi, evdo, etc). It works great. At the moment I have it check to see if it has a connection and if it doesnt it alerts the person and bails on the sql query. So far its a pretty decent little app. Heres the deal. If you open IE/opera/etc and browse to a webpage, I get a notification bubble that says dialing my data connection, which thereafter the webpage connects. I want the same for my app. I do not want to use opennetcf's connection manager. I want to rely strickly on .net 2.0 if i can. How can I invoke a connection to the net. (I dont need to be able to see errors, I dont …
Last reply by robplatt, -
-
- Administrators
- Leaders
- 5 replies
- 2.6k views
Hi: I am getting an out of memory exception from a combo box. I found a reference on the internet about this possibly occuring if the to string method of the objects contained in the combo box returning null. I have eliminated this possibility...and the error is still occurring. Anyone seen this? Eric
Last reply by ehelin, -
-
- 1 reply
- 1.2k views
Ok, I have followed the tutorial and have went back over the code but cant see anywhere where I might have deviated. So why is it when it writes to the text that it takes this "Mark" and when I read it I get this -- Mark'' -- I getwhat was writen in the textbox plus what looks like a carriage return..... I know the quotes I used above at the end arent exactly the same but it gives the idea. Anyway, here is the code please tell me where I am going wrong. Imports System.IO Public Class Form1 Private Sub btnOpenFile_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnOpenFile.Click Dim sFileName As String = Appl…
Last reply by vbMarkO, -
-
- Administrators
- 2 replies
- 955 views
I know you can target a .MDF file with your connection settings rather than the actual SQL Server attached database. But if I wanted to use SQL Server to create a database (.MDF) and then attach it to a project, and I gave said project to someone without SQL Server, would my app still be able to access the database file? If not normally, does it require me to include any .DLL files? Or do you actually have to have SQL Server running on a PC to use the file? It's been driving me crazy, but I can't test it as all the PCs I use right now have SQL Server on them :p Thanks in advance for any info on this :D
Last reply by Denaes, -
-
- 2 replies
- 1.6k views
So I have like 20 typed datasets (about 200 to follow over the next year), and want to create a single generic class to handle generic inserts/updates/deletes with error handling in a constant way... and I'd forgotton about this, but there aren't any table adapters in 2005. In 2005 each Typed Dataset has it's own custom DataAdaptor which only have a common type of Component. So that makes it awfully hard to generically do this. The best I can think of off the top of my head is to create an Interface for DataAdaptors.
Last reply by Denaes, -
- 2 replies
- 4.7k views
Howdy, The database I am working with has a table of transactions (called MunitTransaction) and I wish to retrieve the total number of transactions, and their total monetary value, between two dates. However, I want them grouped into groups. For example, in the following query, I want to retrieve information about today's transactions, with the transactions grouped into hourly chunks: SELECT COUNT( [MunitID] ) AS [TransCount], SUM( [Value] ) AS [Revenue], (DATEDIFF(hh, '2006-07-14 00:00:00', [DateCreated])) AS [interval] FROM [MunitTransaction] WHERE ( [MunitTransaction].[DateCreated] BETWEEN '2006-07-14 00:00:00' AND …
Last reply by Puiu, -
-
- Administrators
- 9 replies
- 1.2k views
Hello, I have an array returned with these fields: Name, AmountDue, TypeID, Description The array is (100,1) and string type My problem is.. Some of the people in the array are in there more than once.. (For example they get a bonus on top of their hourly pay). How can I get an array with each entry having a unique Name.. and where the AmountDue is the combination of all money owed to them? example: OrgArray(100,1) OrgArray(0,0) = "Jay" OrgArray(0,1) = "10.00" OrgArray(1,0) = "Jay" OrgArray(1,1) = "1.00" OrgArray(2,0) = "David" OrgArray(2,1) = "10.00" OrgArray(3,0) = "Erin" OrgArray(3,1) = "10.00" OrgArray(4,0) = "David" OrgArray(4,1) = "1.00" …
Last reply by PlausiblyDamp, -
-
-
- *Experts*
- Leaders
- 7 replies
- 1.3k views
Has anyone used it?
Last reply by Denaes, -
-
-
- Administrators
- 1 reply
- 789 views
I'm trying to create a dll to use inside SQL Server 2005 and i have a strange problem: Imports System Imports System.Data Imports System.Data.Sql Imports System.Data.SqlClient Imports Microsoft.SqlServer.Server Imports System.Data.SqlTypes Public Class SQLCLR <Microsoft.SqlServer.Server.SqlProcedure()> _ Public Shared Sub MySub(ByVal SomeString As String, ByVal DI As Date) Dim cmd As New SqlCommand Dim PrimaPrima As String Dim j As Integer Using connection As New SqlConnection("context connection=true") connection.Open() cmd.Connection = connection While SomeString.Length > 0 …
Last reply by PlausiblyDamp, -
-
- 1 reply
- 828 views
Given the following code: Bitmap img = new Bitmap(nLevelWidth, nLevelHeight); Graphics gLevel = Graphics.FromImage(img); Bitmap imgBelow = _imgIcon; imgBelow.MakeTransparent(); gLevel.DrawImage(imgBelow, i, j, SIZE, CELL_SIZE); // NOW I NEED TO SET THE BACKCOLOR OF THE GRAPHICS BEFORE I PUT IT ON THE SCREEN So, I create a new Image (img) and load its Graphics (gLevel) so I can draw on it, then I draw an Icon somewhere on it (can be anywhere, and can be any kind of Icon)... After that is done I need to give my Image (img) a BACKCOLOR / BACKGROUND and oddly enough I can't seem to figure out how to set that property... Any ideas, hints, and help would be greatly…
Last reply by Cags, -
-
- Administrators
- 3 replies
- 3.5k views
i have looked around and my best sources are telling me about the resource manager, but the problem is i simply cannot get it working. Does someone have any link or something or some info giving an example of how this works? or perhaps there's a better way in .net 2005 than 2003? In vb it was nice and easy - my.resources.<resource name> but obviously C++ doesnt have the my namespace... thx in advance
Last reply by inighthawki, -
-
- 0 replies
- 974 views
I am working on a web based project, and one of the areas that I will soon be getting to is the on-line help area. I have acutal user focused documentation that I and others have been writing within MS Word. In looking around at options for creating help file systems, there are several products that have options for taking MS Word files as input and creating web based help systems as output. But I am curious as to what benefit that would serve over simply opening the document up in MS Word and using the option to save as html? The options that I have looked at are RoboHelp and Doc-To-Help. I have not been able to find any Open Source type help file creation sy…
Last reply by irasmith, -
-
- Administrators
- 2 replies
- 961 views
I am trying to begin upgrading to SQL Server 2005 from 2000. I am using the developer's edition locally on my PC. Everything works fine. However when I publish to a intranet location, I get the following error. Can some provide me some guidance
Last reply by kcwallace, -
-
-
- Administrators
- 1 reply
- 976 views
I have a program that is reading xml from a file that has worked until today. It turns out that the file that I am now reading has changed the xml format to use ':' in the tag names. <pv:MsgHdr> <pvealerCode>444</pvealerCode> <pv:AcctNbr>TESTDMS00000001</pv:AcctNbr> </pv:MsgHdr> im using XMLDocument.LoadXML(stream) to read it and i get an error. is there a newer xml parser that can read this?
Last reply by PlausiblyDamp, -
-
-
- Administrators
- 4 replies
- 1.1k views
I am reading information from a mysql database into a listbox. The query that i have should only return one column from the database. But when displayed in the listbox that same column is written 4 times. this is my code for the listbox... While myReader.Read() 'ProgressBar1.Value = ProgressBar1.Value + 5 ListBox2.Items.Add(myReader.GetString(0) + ": " + myReader.GetString(1) + ", " + myReader.GetString(2)) End While Does anyone know why this would display the same thing 4 times??? When i run the same query through mysql directly... it comes out right but only when doing it through VB is multiplies
Last reply by Talk2Tom11, -
-
-
- Leaders
- 6 replies
- 973 views
Hi: I know its silly, but if you don't want "My Project" in every single project you do (in solution explorer), is there a way to rename this or delete this node? It wasn't present in VS 2003... Thoughts would be appreciated... Eric
Last reply by Wraith, -
-
-
- Administrators
- 1 reply
- 1.8k views
I am using the following Private Sub of a class to send e-mail. My company uses Norton to scan outgoing e-mails. This function, in VB.NET 2003, used System.Web.Mail, from a Windows Application, and sent the e-mails immediately. Now, using it in VB.NET 2005 and System.Net.Mail, the e-mails do not get sent until I close the program to which this class belongs (being run in both Debug configuration via the IDE and the compiled .EXE). It's very strange. I have no idea how or why the e-mails would be caching somewhere until the program is closed. I know this is happening, because after I close the program, Norton lights up the System Tray like fireworks, for each e-mail being…
Last reply by PlausiblyDamp, -
-
-
- Administrators
- Leaders
- 8 replies
- 984 views
I am trying to check if a ToolStripButton is enabled on a ToolStrip within some application. How do I do that? Note: i am trying to do this within my own program (the ToolStrip is on a different app that I have access to (code)) Note: i was trying to use Spy++ to find the handle of the button but with no success, it recognizes the toolstrip+button as a whole component, on the other hand if you have a ToolStripComboBox on the ToolStrip, the ComboBox has a handle... i was thinking of using SendMessage to accomplish my task. Any will be much appreciated!
Last reply by murlopaz, -
-
-
- Leaders
- 2 replies
- 903 views
I am taking over a Sybase app for a new company, and wading through the SQL statements of a guy who knew one variable type: the string One of his queries includes in the Where clause of a SQL statement: Where <Var> || '' = '' Which I think is supposed to handle the possibility of <Var> being Null (in this case, <Var> is representing the variable name, and the variable is an integer in the table from whence it comes). Am I right? Has anyone seen this before?
Last reply by TheWizardofInt, -
-
Who's Online 0 Members, 0 Anonymous, 11 Guests (See full list)
- There are no registered users currently online