Topics
-
- 0 replies
- 666 views
In crystal reports I have created a subreport and in that subreport I told it to format the information with columns. However, I want to set a limit on how many lines can be in a column. Is there a way to accomplish this and if so how? Any help offered is greatly appreciated.
Last reply by lothos123452000, -
- 1 reply
- 656 views
Hi, I want to change the text of current selected item of a combo box to another string at run time. I have played with a lot of properties but had no luck, how should I do this task? Thanks everyone.
Last reply by MrPaul, -
Reflection
by Mondeo- 1 reply
- 545 views
MrPaul kindly helped me a while ago with the following code 'Somewhere in your header section: Imports System.Reflection 'Assume [i]myVehicle[/i] is the instance of Vehicle which you wish to alter and 'that [i]propertyName[/i] and [i]propertyValue[/i] contain the property name and value Dim vehType As Type vehType = myVehicle.GetType() 'Get the type of myVehicle 'Now, invoke a member to set the property vehType.InvokeMember(propertyName, _ BindingFlags.Public Or BindingFlags.Instance Or _ BindingFlags.SetProperty Or BindingFlags.FlattenHierarchy, _ Nothing, _ myVehicle, _ New Object() {propertyValue} _ …
Last reply by MrPaul, -
-
- Administrators
- 3 replies
- 940 views
Hi, I need some help, as always, I currently have a table called 'notificationMessageTbl' and I have a TEXT field called 'userReadID' what I want to do is add text to the end of current text within the field using SQL If I use the following code it just replaces the exsisting text with '12,' and does not append. UPDATE notificationMessageTbl SET userReadID = '12,' Thanks in advance Simon
Last reply by PlausiblyDamp, -
-
-
- Administrators
- 1 reply
- 1.1k views
I'm making a mapmaker, and to save the map I just serialize a type Map class holding all my information, and to load it into the mapmaker I just deserialize the file I serialized and load it into an empty class. This works fine, but I'm kind of new to serializing (I used to use VB and saved map as arrays in text files, etc.) and I was wondering on how to save a serialized file lets say from ProjectA, and load it into ProjectB. I've tried deserializing a file serialized from another project, but it gives me an error :confused: . :)
Last reply by PlausiblyDamp, -
-
-
- Administrators
- 1 reply
- 783 views
OK basically i'm writing a program to read in xml files and send them out to a text message provder The messages come in like so. <messages> <sms.message> <account.id>username</account.id> <password>password</password> <username>i</username> <mobile.to>1</mobile.to> <message>message text</message> <notify>1</notify> <sender.email>test@test.com</sender.email> </sms.message> </messages> Now before anyone comments on the poor xml, it was written by my predecessor and unfortunatly is in common usage so must be kept. anyway, messages can have…
Last reply by PlausiblyDamp, -
-
- 0 replies
- 713 views
Hi Group, Can somebody tell me where I can find the internals of Logging application block 2.0/3.0. I need answers for the questions like: What best practices have followed in the implementation of logging application block? Is buffered writing is supported by this block? Does it write synchronously or asynchronously to the specified destination? Like, let�s say I am writing the log in the database then do I have to wait for completion of logging process or it is done asynchronously, so does my current thread do this for me or logging is handled by a separate thread? Any other benefits I get by using the logging application block? Why shouldn�…
Last reply by anup_daware, -
-
- Administrators
- 8 replies
- 1.2k views
I am trying to update a record in an access database. and I am getting the following error... argument 'Prompt' cannot be converted to type 'String' My SQL statement is as the following: SQL = "UPDATE Products SET TotalAmount = " & Trim(txtBoxTotal.Text) & ", Edited = '" & Trim(a) & "' WHERE ProductName = '" & cBoxCat.Text & "'" the variable a = DataTime.Now.ToShortDateString if someone knows what i am doing wrong please help.
Last reply by MrPaul, -
-
- 0 replies
- 868 views
Does anyone have a Regular Expression to use in a RegularExpressionValidator control, to prevent a User from inputting XML Special Characters in a TextBox?
Last reply by joker77, -
- 0 replies
- 968 views
does anyone know where to get a good, secure .NET forum component/application.. to add to a website - platform is windows server 2003 with sql server its impossible to search for because i keep getting actual forumns in the results :) any recommendations are appreciated thanks
Last reply by sdlangers, -
-
- Administrators
- 3 replies
- 954 views
Hello, Is there a way to configure the SSMSE (SQL Server Management Studio for Express Edition) to connect to a database server using a proxy? I have the SSMSEE installed on my computer and I want to connect to a remote database but I want to use a proxy to do that. thanx
Last reply by PlausiblyDamp, -
-
-
- Administrators
- 9 replies
- 1.3k views
Hi All, Hope you are well, once again it's been a while xsince my last visit. Still busy doing house things. Came across an issue a week or so back at work regarding the use of shared functions. Basically the code I was looking at had a customer structure that was declared as shared. The bottom line of this was every time our web site was busy on this page quite often a customer would update their details but in fact as these structures would quite often have the wrong Sales ID so in fact they updated somebody elses instead. Took a while to find the problem as this never anywhere else apart from the live system as it needed more than one person to cause this pro…
Last reply by davearia, -
-
-
- Administrators
- 5 replies
- 1.1k views
I want to have an xml config file that users can modify if they need to and my windows form application can access while running so that it too can read/write to the file. So I added an app.config file and set to work. It works fine for what I need but when I do a ClickOnce deploy that xml file is not visible or accesible to the user anywhere. How can I have the user and machine read/write config file and use ClickOnce together?
Last reply by PlausiblyDamp, -
-
-
- Administrators
- 3 replies
- 812 views
Hello, I have a database connection that I'm closing in the finally section of my error trapping. The problem is sometimes an error occurs before the connection is open so when it hits the finally the connection.close line causes another error to happen. Is there an easy way to ignore errors in the finally section of my error trapping? Thanks!
Last reply by amir100, -
-
- 5 replies
- 910 views
Hi, I have this statement SELECT VehicleID,Make,Model,Term,Price FROM tblVehicles My table looks like this 100 AUDI A4 12 199.99 100 AUDI A4 24 299.99 100 AUDI A4 36 399.99 101 AUDI A6 12 199.99 101 AUDI A6 24 299.99 101 AUDI A6 36 399.99 Using the statement returns 6 records as expected, but I only want to return each vehicleID once, i've tried SELECT DISTINCT and also GROUP BY but both returned errors. Whats the correct way to do it? Thanks
Last reply by amir100, -
- 0 replies
- 854 views
I've created a user control (.ascx). This user control contains an HTML table with one table row, three table details. The first TD contains an ASP Label control. The second contains a RadioButtonList with two options ("New", "Existing"). The third contains a DropDownList. In the .ascx control, the Label's text is set using a Public Property of type String, and the DropDownList's data source is set by a Public Property of type SqlClient.SqlDataReader. The reader will return about 6100 customers. The radio buttons are static. I am using this control on an .aspx page with a GridView and an empty Panel control. When I click on "select" in the GridView, I create my user co…
Last reply by HardCode, -
-
- Administrators
- 11 replies
- 3.4k views
Hi, I have been away from VB.NET for coming up to a year now and am well rusty to my horry :( I have an app which will have two forms, one 1024*768 and one 800*600. I want my application to determine what resolution they are running at and open the correct form. Any pointers to what object I should be using? I tried the screen object but that talks about rectangles etc? Thnx Hog
Last reply by Nazgulled, -
-
-
- Administrators
- 3 replies
- 856 views
Hi, I am storing images in my database, where I am using 3 columns for each image, 1. imageName as an nvarchar(50), 2. imageData as an image, and 3. imageType as an nvarchar(100). I have successfully inserted the images into the database, only problem that I am having is that I am unable to do any sort of compression on the images, but that's a different problem. The issue that I am having is that if I try and retrieve two images from the database and display them at the same time, in some cases only 1 image is displayed while in other cases no image is displayed. To display the images, I have created a web control with two html image controls with runat="server…
Last reply by PlausiblyDamp, -
-
- 0 replies
- 635 views
I have a repeater control, within my itemtemplate is a checkbox. Is there anyway I can trap its CheckChanged event, it doesn't show up in the page class. I know how to get to it using findcontrol but can I add a handler to it? Thanks
Last reply by Mondeo, -
-
- Administrators
- 5 replies
- 4.9k views
Hi guys, I have recently switched over my coding from VB.NET to C#. Overall, everything is just fine. However, I'm a little puzzled over how namespaces work in C#. I have heard that they are much better, but best I can tell they simply seem stricter. (Or is this why they are better?) The two things that I've noticed are: (1) You cannot import a class (type) name as part of a 'using' import. This is not a big deal, but it does let VB.NET access enum fields directly without requiring the enum type name as a prefix. This is nice. On the other hand, this would allow any static method to be called without the type name. This could be good in that you could create meth…
Last reply by Mike_R, -
-
Who's Online 0 Members, 0 Anonymous, 57 Guests (See full list)
- There are no registered users currently online