Topics
-
- 2 replies
- 962 views
Hello, I have been trying to figure this out. I want to search a string and if it contains any characters or special characters then it will error out. I was looking at IndexOfAny but can't seem to get it to work. Any help would be appreciated.
Last reply by amir100, -
- 2 replies
- 923 views
Hello I have just now installed VISUAL STUDIO.NET 2003 and I am going to write a program in ASP.NET using VB.NET. I have a database created using SQL 2000 and I am going to make a connection to it. I can not find any provider suitable for this work from server explorer. I must add that I have not installed the SQL 2000 software on my PC right now. How can I connect to this SQL 2000 database? It will be very good if somebody can also introduce me with some syntaxes to do basic works with a database such as adding a record , ...... Thank you very very much
Last reply by amir100, -
-
- Leaders
- 2 replies
- 2.3k views
After i render my X file i try to save the back buffer to a file, as seen below. But i recieve the following error Error 5 Error in the application. in directx 8.1 i had it working fine. does anyone know why this is not working, or if there are any issues with directx9 and surfaceloader? thanks 'save backbuffer to image Dim surf As Microsoft.DirectX.Direct3D.Surface surf = g_D3DDevice.GetBackBuffer(0, 0, BackBufferType.Mono) Dim destRect As System.Drawing.Rectangle destRect.X = 0 destRect.Width = g_width destRect.Y = 0 destRect.Height = g_height 'sur…
Last reply by snarfblam, -
-
-
- Leaders
- 3 replies
- 1.4k views
Is there any way with ASP.NET other than using frames to embed one web page within another? Thanks
Last reply by Mondeo, -
-
-
- Leaders
- 3 replies
- 2.6k views
Hi Group, You might have found the Title a little strange :); well following is the problem description: I want to form a SOAP xml request to a servlet, I have my Request xml template ready. Now I have following options: Following is the sample xml template which I will use: <?xml version="1.0" encoding="UTF-8"?> <MT_MaterialSearchRequest> <!-- Customer Data --> <CUSTOMER> CUSTOMER _PLACEHOLDER</CUSTOMER> <SALES_ORG> SALES_ORG _ PLACEHOLDER </SALES_ORG> <!-- Limit on the size of the search result --> <DEFAULT_SORTING> DEFAULT_SORTING _PLACEHOLDER</DEFAULT_SORTING> <!-- Material Data --> <WID…
Last reply by anup_daware, -
-
-
- Administrators
- 1 reply
- 904 views
I am getting system information on my form load event but it takes some time to complete for my form to be loaded so what do you recommend for this? is there a from_load_complete or something similar for me to put my code there, so first my form loads and then it gets the sys info?
Last reply by PlausiblyDamp, -
-
-
- Leaders
- 2 replies
- 1.6k views
F# Would anybody like to throw some light on it...... Combining the efficiency, scripting, strong typing and productivity of ML with the stability, libraries, cross-language working and tools of .NET. http://research.microsoft.com/fsharp/fsharp.aspx --Ashutosh
Last reply by IceAzul, -
-
-
- Leaders
- 3 replies
- 1.4k views
hello all! I need a little help, maybe someone here can help me out. I have a menu, now, for reasons too long and too irrelevant to write down, I create a toolbox out of said menu. Everything has gone well until I wanted to have the buttons on the toolbox call the same click event as their respective menu item. So is there even a way to add an EventHandler to the Click event of a new object that points to another object's EventHandler in pseudocode I suppose it'd be something like this: newObject.Click = oldObject.Click Thx
Last reply by snarfblam, -
-
-
- Leaders
- 1 reply
- 765 views
when the control in the form is clicked, the does not bring the form in the front. Only if the title bar is clicked, the form is brought at the front any ideas what could be the problem.
Last reply by snarfblam, -
-
- 0 replies
- 929 views
We are about to go into production on our SQL Server 2005 database, we would like to hide all our stored procedures from our Clients eyes. Do you know of a way to apply "WITH ENCRYPTION AS" to all the stored procedures in a database without opening each one individually, or to setup a script to do this? Finally, I understand that this method can easily be reversed, by doing a simple procedure. We have used the .NET 2.0 DLL feature for a few of our procs but, we are unsure what method to use. Any recommendations? many thanks
Last reply by jch001, -
- 1 reply
- 6.9k views
I created a config with the location of my xml file: <add key="positionXML" value = "C:temp\PositionMsg.xml" /> When I try to load the xml file into my C# code, I am doing the following: XmlDocument objDoc=new XmlDocument(); objDoc.LoadXml(ConfigurationSettings.AppSettings["positionXML"]); What should I do to load the XML file and get the data elements in the XML? TIA.
Last reply by LostProgrammer, -
-
- Leaders
- 5 replies
- 1.4k views
Can someone point me to a solution for copying files accross two volumes? I am using the code below. You can see the iterations I tried. foreach (DirectoryInfo diNext in dirs) { if (diNext.LastWriteTime < cutOffDate) { //dinext.Move(fromPath + diNext.Name, toPath + diNext.Name); //diNext.MoveTo(toPath + diNext.Name); Directory.Move(fromPath + diNext.Name, toPath + diNext.Name); } }
Last reply by mskeel, -
-
- 1 reply
- 1.7k views
I have this page which contains a "main" image and 3 detail shots http://www.florencefashions.com/product.aspx?product=23 When a detail shot is clicked then the main image changes to that one, i've just done this simply in the click event of the image control. The client wants it where the page doesnt jump to the top when its clicked, i.e. they want to avoid the postback. Can I do this in Javascript, if so any help appreciated as I have zero experience with JS! Thanks
Last reply by MrPaul, -
-
- Administrators
- 5 replies
- 1.7k views
Hi, I'm relatively new to .NET and am developing an Application for Windows Vista. I'm running into a couple of issues with the Application when it's trying to do 2 things - Copy a file, or Set a Registry Key Value. When I'm running VS2005 both these 2 functions work no problem, but I would assume that this is because I run VS2005 as an Administrator. My Application won't be able to run as an Administrator I don't think, because I will be running the Application from boot up as a shell. For the file copy, I'm using a straightforward File.Copy, e.g.: Dim strPathFrom As String = "C:\FolderName\Filename.txt" Dim strPathTo As String = "C:\Filename.txt" File.Copy(strP…
Last reply by PlausiblyDamp, -
-
-
- Administrators
- Leaders
- 5 replies
- 1.2k views
Hello everyone:) I found this great sample from MSDN: Imports System Imports System.ComponentModel Imports System.Threading Imports System.Windows.Forms Public Class Form1 Delegate Sub SetTextCallback(ByVal [text] As String) Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim thRead As New Thread(New ParameterizedThreadStart(AddressOf myThread)) thRead.Start() End Sub Private Sub myThread(ByVal o As Object) Me.SetText("a") End Sub Private Sub SetText(ByVal [text] As String) If Me.TextBox1.InvokeRequired Then Dim d As New SetTextCallback(AddressOf SetTex…
Last reply by snarfblam, -
-
- 1 reply
- 958 views
I have 4 buttons on a page, when I click on two of the buttons, they react as per normal i.e. they go off do the relevant tasks. However, the other two buttons require that you click them either 2 or 3 times in order for them to proceed. Here is the code for one of the offending buttons: Protected Sub btnRetrieveData_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnRetrieveData.Click RetrieveData() End Sub Any suggestions? Mike55.
Last reply by kahlua001, -
- 0 replies
- 947 views
I have a problem I cant figure out. any help is appreciated! I have a datalist whose's datasource is a custom type. In this type is a public member that is a generic list. So in the ItemDataBound event I have. PostType Post = ((PostUserBookmarkType)e.Item.DataItem).Post; lnkName.Text = Post.Name; Now, the problem is that I am taking the datalist's item template and loading from a usercontrol. So now, the ItemDataBound doesnt work becuase its outside of a datalist, so I've read that I need to cast the Dataitem to a DataListItem like so.. <%# DataBinder.Eval(((DataListItem)Container).DataItem, "FirstName") %> I've tried different variations to c…
Last reply by kahlua001, -
- 1 reply
- 1.7k views
Hi Can anyone recommend a good OO Design book based on .net, in particular one that focuses on web development. My reasoning behind seeking such a books is that I really, really want to improve the quality of the software that I write. I am preparing to begin using TDD as one approach to improving the quality, but I believe that if I can improve the design of my programs, this will have the desired effect. Alternatively, I would be delighted to hear of any other book titles that could help with improving the quality of my software. Mike55.
Last reply by mskeel, -
- 2 replies
- 1.1k views
Hi, I'm currently in the investigation and planning phase of an application, and have kind of hit a stumbling block over which technology to use for a certain piece of the Application - Web Forms or Win Forms. The piece in question will authenticate a User during logon to a central server, and display some screens allowing them update their details etc on the central server. The application will be a client piece on a User's desktop (which could possibly be browser based), which connects over a LAN to a server machine. Regarding the User's local machine - the only thing running will be my application - the User will be locked out of running any other applications…
Last reply by travisowens, -
- 0 replies
- 822 views
IN a dynamically (via SQL) generated survey I need to enforce a minimum on some checkbox questions. So let's say I have 10 colors and you need to "pick at least 2". Let's assume I have 3 of these questions in my survey. Ideally, I would like the submit button onclick fire off an alert to tell the user that questions 1, 2, 3 need addressing if they don't have the minimum. I already have a CSS class that toggles to give a visual cue that the question isn't valid, but now I need to actually enforce it. (PS: server side isn't important now) The only way I can think of doing this is to create a 3x4 array that contains (question#, checkbox name, number of checkboxes, …
Last reply by travisowens,
-
Who's Online 0 Members, 0 Anonymous, 60 Guests (See full list)
- There are no registered users currently online