Topics
-
- 1 reply
- 1.8k views
I have written a Visual Basic.NET application. It's intent is to run on a VPN Server, that means that the user are going to have severly restricted abilities to include not even being able to write to a directory. The way around this was to impersonate an administrator log on at the run of the application. This has caused another problem when the user has VPN in from home and is starting to use this application everything is fine until they try to print from this application. My supervisor tells me that the print out should be printed out on their printer at home and this is automatically handled by the VPN serves in otherwords we do not have to worry about it in code but…
Last reply by MrPaul, -
- 1 reply
- 1.3k views
Hi, Im working on a project on VB 2005 and i need to be able to change the property of the soundcard. I want to change the Recording property of the soundcard from Microphone to Steoro Mix. I would appreciate the help very much. PS if the solution requieres using C# i dont mind the important thing is that it works. Thanks
Last reply by headkaze, -
- 2 replies
- 2.1k views
I am accessing data from an encrypted file, decrypting it then placing it in an arraylist. Exceptions would normally occur if an incorrect password is entered when opening the program. The password is used to provide keys for the encryption/decryption process. If any exceptions occur in the decrypting process I would like to return the program back to a password entry panel. My problem is that the Try-Catch process still allows a system error to occur when an incorrect password is entered and then the program terminates. It would seem I need to add a specific exception(s) to the Catch line. But how does one know what exceptions to place there, e.g. Catch ex As…
Last reply by TedN, -
- 1 reply
- 2.3k views
Does anyone know the work-around for the DataGridView bug which causes the "ReadOnly" property, applied at the column, row, or cell level, to sometimes not have any effect? i.e., the cell can still be edited by the user. The ReadOnly property at the grid level works fine, it's just the other levels that are flaky. When I google this, it appears that many have experienced the bug, but the work-around is unclear.
Last reply by David Anton, -
- 0 replies
- 1.4k views
In smo im trying to script each table out to a file. I can script each table to an array as shown: Table[] tables = new Table[db.Tables.Count]; db.Tables.CopyTo(tables, 0); SqlSmoObject[] smoObj = new SqlSmoObject[tables.Length]; Array.Copy(tables, smoObj, tables.Length); Scripter scripter = new Scripter(s); StringCollection scriptsList = scripter.Script(smoObj); string[] scripts = new string[scriptsList.Count]; scriptsList.CopyTo(scripts, 0); i expected each array of the scripts array to have a table creation script, but no. element 0 of the array contains the text: …
Last reply by fguihen, -
- 0 replies
- 1.1k views
hello, My project accepts user registration then keep their data in my sql server. I need a asp.net 2003 code that the user show he/she has private area but doesn't have a folder in ISS actually. Data will come from my sql server. for example if you logon as mccrash then you will see that a link like http://localhost/mccrash/index.aspx and this links will be shown in url bar. is it possible? Any idea? thank you.
Last reply by mccrash, -
- 1 reply
- 1k views
Hi All, Hope your weekend is good. Here is some XML: <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <placeOrder xmlns="http://tempuri.org/"> <dbsAPIRequest> <Header> <loginGUID>026b518c-6916-434a-85ba-88fedce62fac</loginGUID> <API_Version>1</API_Version> </Header> </dbsAPIRequest> </placeOrder> </soap:Body> </soap:Envelope> Here is part of my cod…
Last reply by MrPaul, -
-
- Administrators
- 6 replies
- 1.8k views
Hi, I'm working on VB 2005 and SQL 2005 express. I have created a number of tables but i cant insert into them from VB. I have tried every possible way of inserting into the tables and still no hope. What is wrong? What am i missing out? Thanks
Last reply by FZelle, -
-
-
- Administrators
- 1 reply
- 1.3k views
Hello, I'm trying to format a simple table in an .aspx page and it's giving me some problems. All I want is a 3 row table. The first 2 rows will always be the same height the 3rd row will fill up the rest of the page. If I take out the <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> line at the top of my .ASPX page I can get this to work. If I put that line back in it stops working. What are the repercussions of removing this line? Second question. My table looks fine in IE but in FireFox the scroll bar shows up and there are a couple inches of empty space. What am I doing wrong…
Last reply by PlausiblyDamp, -
-
-
- Administrators
- 1 reply
- 1.3k views
Hi, I've built a login system on my site using the wizard, its created a database called ASPNETDB.MDF in the /App_Data folder and it all works fine locally. I've copied it all up to the host and now it doesn't work. I get the error: provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified What do I need to do, I presume its becuase in the connection string its got an entry for AttachDBFilename= a path on my local machine. How can I change this path, its all greyed out in the properties window and I cant find any mention of it in the web.config Thanks
Last reply by PlausiblyDamp, -
-
-
- Administrators
- 5 replies
- 3.4k views
Hi I need to have one or two of my pages enabled with https, while the rest will all be normal http. The problem that I am having is that when I navigate to one of my https pages and then go to a non-https page, the https takes control of the non-https page. In the end, all the pages in my project are now https pages. Any recommendations, should I be typing the full address of the page I am redirecting to (request.redirect(http://www.abc.ie/subscription.aspx)) rather than just specifying the page name (request.redirect(subscription.aspx)) Mike55.
Last reply by mike55, -
-
-
- Leaders
- 10 replies
- 1.2k views
Is it my computer or is Visual Studio just a bit slow to respond? When I load it or unload it there is a period of about 30 seconds or so while my computer seems to be accessing the hard drive. It can take a similar length of time to build an application which is only 1MB in size before I can run it. My computer has a 1.8 GHz processor. Is there anything I can do to speed it up?
Last reply by David Anton, -
-
- 1 reply
- 1.2k views
Currently I use the following code to retrieve information from an XML file ... it works perfectly fine as long as the [type] (column name) exists in the DataRowView resulting from my .ReadXML. DataSet dsxmlfile = new DataSet(); string sLabel = ""; dsxmlfile.ReadXml(filename); if (dsxmlfile.Tables["Component"] != null ) { DataView dsview = dsxmlfile.Tables["Component"].DefaultView; // Check to see if the TYPE exists before trying to access it // ?????? // foreach (DataRowView a in dsview) { sLabel = a[type].ToString(); // THIS IS WHERE THE EXCEPTION OCCURS where [type]="FirstV" } dsxmlfile.Dispose(); return sLabel; } dsxmlfile.Dispose(); The pro…
Last reply by Killian35, -
- 1 reply
- 1.1k views
Does anyone have any sample code for adding a datagrid to a Windows Mobile Application
Last reply by kcwallace, -
- 1 reply
- 981 views
I have 2 strings (sOldVersion & sNewVersion) that have the form xxx.xxx.xxx (3 sections) ... for example: 1.2.3 1.10.33 2.1.15 7.80.1 These correspond to VERSIONS of one of our components (and they are retireved a strings in-code). My problem is I need to determine if "sNewVersion" is greater, equal, or less then "sOlderVersion" ... and I can't just cast these as integers (obviouslly)... Anyone have a clue how I could accomplish such a comparaison? One solution I thought of (but have not yet implemented) would be to break down each version section (high, med, low), cast them as integers, and compare like that (I am sure I can get it to work, but is there…
Last reply by Killian35, -
- 0 replies
- 1.2k views
Hi all, Im trying to add multiple checkboxes on 1 row in an listview control, something like; Column1 Column 2 Column 3 Column 4 Column 5 Checkbox Checkbox Checkbox SomeText SomeText Does someone knows how to code that ? :o
Last reply by DjoeDjoe, -
-
- *Experts*
- 2 replies
- 2k views
I'm looking for tips to make an artificial horizon in vb net , any idea ?
Last reply by sdecorme, -
-
- 0 replies
- 899 views
Hi I'm fairly new to using 2005, both VB and SQL Server Express. I'm trying to create a program which talks to a database on a server for my friends business (big favour!). His company has about 7 people that work there and each of them will have a copy of the VB app installed which will interface with the database. Personally i have quite a bit of experience with standalone VB apps, but i've never really approached anything of this size before, but I'm trying doing this as a) a favour to my friend and b) to learn VB and Sequel a little better as i'm looking to change my job in a few months time. There are no full time IT staff there, any backups will need to b…
Last reply by Jay1b, -
-
- Administrators
- 2 replies
- 1.7k views
Hi everyone I have an application that saves its data in Xml format. I would now like to convert it to MS Excel format so that users without my application can read and edit the data. I have checked this forum but cannot find a specific answer. Any help or direction would be much appreciated. Thanx in advance. Woodster :cool:
Last reply by Woodster, -
-
-
- Leaders
- 2 replies
- 1.4k views
I'm drawing some text with the Graphics object DrawString function, a Rectangle and a StringFormat object. I'd like to know where the text appears. The MeasureString function will give me the size of the text, but not its location. Do I have to work out its location based on the Rectangle and each possible value of the StringFormat's Alignment and LineAlignment properties, or is there an easier way?
Last reply by rbulph, -
-
Who's Online 0 Members, 0 Anonymous, 48 Guests (See full list)
- There are no registered users currently online