Topics
-
- 9 replies
- 3.8k views
Hi, I am trying to change a password on my Access database programmatically. I have tried the sql query: "ALTER DATABASE tabletochange ADD/ALTER PASSWORD password" to no avail. I am wondering if any one can tell me what the sql query is that I need to run to chang the password on my database is? Thank you for your assistance
Last reply by SimDuck, -
- 4 replies
- 1.4k views
Hi All, I have a helper class which uses the CDOSYS.dll for sending the mail. When i test the asp.net application using the development environment(WINXP) i get mails. When i deploy the application ontarget machine(Windows 2003), the mails go sometimes and does not go sometimes. Does Microsoft CDO for windows 2000 works on 2003. On target machine it sends the mail sporadically that is it sends sometimes and does not sometimes. The mail sending is not consistent enough. Please help me in identifying the problem. Regards Yashasvi
Last reply by yraykar, -
- 0 replies
- 1.3k views
I can use Select and EnsureVisible to jump to a certain ListView-Item (Detail-View, no MultiSelect). Problem is: When pressing an arrow key I'm one row below the originally focused row, not the one selected by code. :confused:
Last reply by sfn, -
-
- Leaders
- 16 replies
- 3.1k views
I have much experience with GDI and VB6.. I have read about the slow performance of GDI+ and do not even want to attempt that. I want to implement GDI in .net.. I have a lot of source regarding the creation of a dhc and such but I am still kind of confused.. So, I want to start with the basics.. I'd like to create a picturebox?? .. or at least some sort of region... and for starters, lets just paint it all black .. Lets say I paint it by pressing a button on the form.. button executes the rect() fn to paint the square black.. Now, when I move the form off screen and back on, that paint is now gone? What is the solution for that? How do I implement that? Any examp…
Last reply by qmp, -
-
- 5 replies
- 1.7k views
Just to let everyone know I am hosting a 2D game programming contest at http://contest.createdbyx.com/ There will only be one winner! The winning entry will recieve ... VB.NET 2003 Standard Windows 2000 professional SP4 Windows 2000 server SP4 Windows 2000 advanced server SP4 Visual Studio.net cd A 100 page tutorial book adapted from the full book titled "Microsoft Visual Basic.NET step by step" 3cds containing the MSDN library Visual Basic .NET Upgrade guide CD containing How-To Videos, Self-Study Courses, New book chapters, and technical case studies. Some of the rules for game submission are the games must be a one screener style game. Meaning…
Last reply by ThePentiumGuy, -
- 0 replies
- 857 views
I see a few websites dedicated to XML. I see some with tutorials about what xml is and how to write it in notepad. What I am looking for is a good resources (web, book, shouting at the moon) about how to create xml with .NET. There are a lot of methods available on the xmlwriter objects. I want to be able to create nice looking, well-formed xml. The latest issue I am having is that the first tag in my retrun xmlDocument always has a "xmlns" attribute associated with it. I want to drop this but I can't figure out how. I had it on other elements in my document that I created the following way: xmlWriter.WriteStartElement("Response",i.ToString()); But for those I …
Last reply by VBAHole22, -
- 0 replies
- 945 views
I have a single page template, say it's for an employee ID, and my database has 5 records. My goal is to print off the employee ID's, and have a word document with 5 pages. Each page will be based on a template. (VB.Net by the way) I have the template created, and have bookmarks setup to locate the text insertion points. I can create the first page very easily; goto bookmark, insert text, repeat. Although, I'm stuck now that I want to create the second page. Ideally, I would like to insert a new page based on my template. I can't create everything on the fly, as that will make using a template pointless. EDIT: I found a solution, although I'm not very h…
Last reply by corpse, -
- 1 reply
- 625 views
Hi again, I have this string: strA="40.99", I want to get rid of ".", so I did this strB = strA.Trim("."), but strB still has "40.99". Why is that?
Last reply by mskeel, -
-
- Administrators
- 3 replies
- 1.2k views
When I run this code on my PC, it works fine - I send the email to myself and it works. But when I deploy it to another PC, it gives me some Microsoft.Office.Interop.Outlook dll error. I'm assuming I need to make a setup project for deployment purposes; but what dll/files do I need to add? Here is my code... Imports Microsoft.Office.Interop Public Class Form1 Public Sub Send_Email() Dim oOutlook As New Outlook.Application Dim oMailitem As Outlook.MailItem Dim oAttach As Outlook.Attachment oMailitem = oOutlook.CreateItem(Outlook.OlItemType.olMailItem) oMailitem.To = "johndoe@somewhere.com" oMailitem.Su…
Last reply by woklet, -
-
- 0 replies
- 1.2k views
Greetings all! I am developing a mobile application for a customer. This application will also have a section for administration that will be used only on desktop machines. How do I have the site validate whether or not it is a mobile platform? I have done numerous searches, and have not had any luck in learning how to validate whether or not the OS is Windows Mobile in an ASP.NET site with VB codebehind. Thanks, Kahuna UPDATE: I read (finally) about the Environment.OSVersion object, but it is not returning the version of Windows Mobile on the HP iPAQ I'm testing with, but rather the version of my XP machine acting as a web server. What's up with…
Last reply by SteveoAtilla, -
- 4 replies
- 1.6k views
I have a console application which is going to run on a server that searches a directory for any post-script files and converts them to .pdf files. Currently the directory it searches is 'hard-coded' in the app.config file, but when I deploy this I want the client to be able to 'pass' a directory name for it to search in. Is there any way to do this with a console application? Thanks in advance for any help!
Last reply by tykurez, -
- 0 replies
- 600 views
I want to create a web service that has an optional input parameter of type double. Trouble is if it isn't entered in the proxy service form the whoel service blows up. Is there a way to override this or to have it default to something like 0.0? I can't even get to the first line in my service code.
Last reply by VBAHole22, -
-
- Administrators
- 2 replies
- 1.5k views
Any pointers to open source dot net frame work?If anybody has evaluated any framework could you pls send the document
Last reply by koolinddude, -
-
-
- Administrators
- 4 replies
- 1.1k views
I never tried asp.net or even the classic asp or even any of server side programming... then lately, since i don't have any to do i wanna try the asp.net... The situation goes like this, i tried creating new project in visual studio.net 2003 selecting asp.net web application under vb.net. Suddenly an error was prompted. I really can't remember the description and number of that error. Well I guess, creating a virtual folder is the solution or setting it up as a server, but according to what happen still prompts an error.... I tried creating new virtual folder in the IIS under the administrative tools in Windows XP.... I tried it under FTP Sites and somethi…
Last reply by Ieuan, -
-
-
- Administrators
- 4 replies
- 1.7k views
At the moment I have an Texture[] array to hold all the images to be used in the game. However, this kinda limits things. For starters, I cannot easly identify the images using numbers 1, 2, 3, 4, etc... I could load all images in Hastable, no prob on that, unfortunately I have to covert them to a bitmap then load Bitmap into the texture. The prob is, whever I use "Bitmap" inside my DirectX render proceedure it becomes like 4000% slower... Also, my Texture[] array is a static object so that it can be accessible from anywhere, the problem is, when I reload the graphics it will not release the old graphics from memory leading to the so called memory-leak even if I s…
Last reply by EFileTahi-A, -
-
-
- Moderators
- 9 replies
- 1.3k views
Hi all! I have the following three questions, the answers to which still elude me. :confused: Any help would be highly appreciated: 1. I have a DataGrid (firstly, with a disabled viewstate and secondly, the entire DataGrid is editable, with a single Button at the bottom instead of editing data one row at a time). This DataGrid displays rows from a table A in an Oracle database. When the Submit button is clicked, it will result in two actions: (a) A csv file will get downloaded to the user's computer which will contain all the rows of the grid and at the same time these rows will be inserted into another table B. (b) The entire grid will be recreated and reloaded.…
Last reply by KnightHasan, -
-
- 0 replies
- 786 views
I have a webservice that is returning an XmlDocument to the calling code. When I set a web reference I get a proxy that returns XmlNode element. No big deal, I take that node and it becomes an xmlDoc and everything is cool. The problem I am having is that sometimes I malform the xmlDoc. This gives me an ugly result in the client. I'd like to form my xml well. If there was a way I could debug and see what the xml is I could see what is wrong with it. Trouble is I am using a stream, not an xml file. I create an xmlWriter and use the stream to create the doc. When I am done I send the stream to a xmlDoc and then that gets returned to the client (where it blows apart).…
Last reply by VBAHole22, -
- 2 replies
- 1.1k views
I have a table Users with the fields : username varchar(50), Birthdate Datetime I want to select the month in which most users are born
Last reply by PROKA, -
-
- Leaders
- 3 replies
- 1.2k views
Hey, I have an object Client, and that object has an object address and different other property�s (like name, age,.... all sting, int�s,..). While debugging and passing with the cursor over Client.Name you will see Client.Name = �Johnny�, also you see the contents of the other property�s. But for the property address (which is another object) you will see only the name off that object -> Client.Address = {Namespace1.Address}. Is it possible to see also the contents of that object while passing the cursor. For example when I pass I will see the contents of the zip-code of that object address. Now we have always to use �QuickWatch� to see that. I looked…
Last reply by Jaco, -
-
-
- Leaders
- 6 replies
- 1.5k views
I love the collapsible code and regions. You can hide most of what you don't need at the moment and focus on what you are doing. I have to be honest, though. Long before I heard about it from Microsoft, the idea occurred to me, but my vision of collapsible code went further than Microsoft's, and I was slightly disappointed when I got VB.Net and it wasn't all that I had imagined. This is closer to my vision of collapsible code, and I am considering creating my own control with this functionality, but it is a shame that I will never be able to edit my VB code this way. It is almost like a class view (with the contents limited to the file you are viewing) except that w…
Last reply by snarfblam, -
-
Who's Online 0 Members, 0 Anonymous, 69 Guests (See full list)
- There are no registered users currently online