Topics
-
- 0 replies
- 1.4k views
Hello everyone, Where exactly do I configure a C# application to install in a specific path? Like, for example: C:\Program Files\myApp Please note that I don't mean the deployment folder! I looked throughout the application properties, publish properties and publish Wizard, but didn't find a configuration option for that. Thanks a lot, JC.
Last reply by jcrcarmo, -
-
- Administrators
- 3 replies
- 1.5k views
Greetings, I'm starting to play around in asp.net once again using the Personal Web Site Starter Kit. In the Default.master page, I have a menu control being created using a datasourceid property set to a sitemapdatasource control: <asp:menu id="menub" runat="server" datasourceid="SiteMapDataSource1" cssclass="menub" orientation="Horizontal" maximumdynamicdisplaylevels="0" skiplinktext="" staticdisplaylevels="2" /> <asp:sitemapdatasource id="SiteMapDataSource1" runat="server" startingnodeoffset="0" /> I'm also using a Sit…
Last reply by alp0001, -
-
- 1 reply
- 4.2k views
I am writing a plug-in to another program in the form of a dll with VC++ .NET. Because I didn't want to have to start the host program every time I changed something, I developed the GUI part of the plug-in separately as a console-application. Now when I moved my GUI back to the dll I get compile errors with GetCurrentDirectory and SetCurrentDirectory and I have no idea why. Code-snippets: String* path = Directory::GetCurrentDirectory(); Directory::SetCurrentDirectory(myPath); My compile errors: error C2039: 'GetCurrentDirectoryA' : is not a member of 'System::IO::Directory' D:\Program Files\Microsoft Visual Studio .NET\Vc7\include\vcclr.h(15) : see de…
Last reply by Erk1024, -
-
- *Experts*
- 3 replies
- 999 views
I want to store a 13 digits number in a table in a database and i was curios what would be the best data type to do this? Varchar or Bigint ? I don't need to calculate anything with these numbers, just to store them using the lowest disk space
Last reply by Nerseus, -
-
-
- Leaders
- 4 replies
- 5.6k views
Hi, In VB I have a combobox with a default text value, "options". When the form is dropped down, naturally, an item can be selected from the combo box. A procedure is called on SelectedIndexChanged. However, nothing is shown in the text area of the combo box after an option has been selected. I want it to display the value the user has selected, but it is just blank :p What am I missing? It's worth mentioning that I'm pretty new to VB, and programming in general. Any help would be greatly appreciated, thanks in advance. - Chris. (ps: This is my first post, but I'll definitely be hanging around here!) :)
Last reply by thechris, -
-
- 1 reply
- 992 views
I have output from a stored procedure that I desperately need to use as the default value of a column... I cannot seem to write the sp as a UDF due to the use of a temporary table and 'exec sp_executesql as follows: insert into #Foo exec sp_executesql @statement=@SQLQuery Please help
Last reply by Puiu, -
- 1 reply
- 900 views
I have a simple application in VB 2003 that connects to an access db. When I run it, it works fine until I modify previously submitted data. After that I get an error saying "syntax error in INSERT INTO statement" when I click the update button. This dataform was generated using the built in wizard. Has anyone run into this prob before? Not sure if it is a setting in the VB or the db settings. HELP!
Last reply by Puiu, -
-
- Administrators
- 6 replies
- 2.2k views
I'm trying to connect VB.Net 2005 (Pro) to an SQL Server Express 2005 installation, however i keep getting the following error message. I've checked the security settings on the server and everything is enabled (both pipes and TCP/IP). Does anybody know what i'm doing wrong? Thanks Jay. ******************************************************** TITLE: Connect to Server ------------------------------ Cannot connect to esp. (esp is the servername) ------------------------------ ADDITIONAL INFORMATION: An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that und…
Last reply by PlausiblyDamp, -
-
- 2 replies
- 1.5k views
Hello everyone, After I publish my C# VS2005 application (to be installed from CD-ROM), the crystal reports in it will not load, but if I run the application from debug, everything works fine. Does anybody know what's going on? Thanks a lot. Best regards, JC
Last reply by jcrcarmo, -
- 0 replies
- 1.7k views
Hi I am trying to use the Infragistics Ultrawebtab Version 5.3. In previous versions you were able to drag the tab control onto the page, and create the individual tabs. You could then right click on the tab control and select "Quick Design" and choose one of the tabs to work on. This allowed you to drag on webusercontrols onto each tab individually. By using the following code, it would be possible to access functions in one control from another. dim webTab as Infragistics.webui.ultrawebtab.ultrawebtab webtab = me.parent.page.findcontrol("UltraWebTab") dim general as uctrlGeneral general = webTab.findcontrol("usrctrlGeneral1") general.HelloWorld() Any su…
Last reply by mike55, -
- 6 replies
- 3.3k views
How can i get the rownumber from a Datagridview. In some other programming languages you can use e selectedindex ore something. What i need: I select a row, and i like to get something out of it.. dataGridView1.Rows[1].Cells[0].Value.ToString() Row = 1 at that code.. That 1 should be the rownumber of the selected row... How ?
Last reply by rmokkenstorm, -
Anybody have a bit of SQL that will list the triggers on a table along with the trigger's name and the text of the trigger?
Last reply by Nerseus, -
-
- Administrators
- 4 replies
- 796 views
I wrote this program that lists the system information on the "About" form. I am not using hte msi to install, just running the exe. It works like a champ with any user on any machine if the exe is copied to the local machine, but doesn't work if anyone (including domain admins) runs it from a server share. Code and error enclosed. Any help is greatly appreciated!! Thanks, Rankun code.txt error.txt
Last reply by Rankun, -
-
-
- Leaders
- 4 replies
- 2.5k views
okay.. I'm not the best at writing reg exp so I'm sure this is simple but I've tried it a hundred different ways... Given a string I want to pull out the first occurance of all characters,digits,spaces and special chars between the [ and ] for instance I usally have a string such as "[blah boo & foo] + [heeee]" I want to return "[blah boo & foo]" below is my feable attempt to get this... Dim r As Regex = New Regex("\[.*\]") Dim m As Match = r.Match(stringGoesHere) Dim basdf As String = m.Value "\[.*\]" is somewhat sucessful.. but it returns the whole string (obviously because the string starts and ends with [ ]. So I try something like \[\w*\s*\] a…
Last reply by snarfblam, -
-
- 2 replies
- 1.3k views
Hi guys, is there a free PDF library that i can use in my .net application to create pdf reports?? all the ones that i found where not free.. or they put adds and stuffs like that in the pdf document thanks.
Last reply by mskeel, -
- 1 reply
- 1.2k views
Hello everyone, I have a DataGridView in a windows form with three columns: Column1 is TipoComboBoxColumn Column2 is QuantidadeColumn Column3 is SementeComboBoxColumn I need the SementeComboBoxColumn to display values according to the value I select in the TipoComboBoxColumn. How do I go about accomplishing that? The code below works in part, BUT when I'm editing the value of SementeComboBoxColumn, the other values for the other rows in this column disappear. This is driving nuts! private void tabBAdetDataGridView_CellClick(object sender, DataGridViewCellEventArgs e) { if (tabBAdetDataGridView.Columns[e.ColumnIndex].Na…
Last reply by Voldron, -
-
- Administrators
- 8 replies
- 1.2k views
As part of a university project i have to a create an activex componant that times the download of a file of known size. This is so that my website can measure the bandwidth of any client machine that accesses it. I am coding my website in C#.net using visual studio.net 2003, i have never used activex before and am unsure of how to link my web site to an activex componant let alone code the activex componant. Below i have wrote an algorithm of what i believe the activex componant will do. I am unsure of whether this is correct. Start download Start timer Error = False while error = false while (timer<given threashold) AND (download is finished) S…
Last reply by Cags, -
-
- 0 replies
- 1.9k views
Hi I am trying to pass a dataset in the visual studio.net 2005 environment between a vb.net web service and a vb.net web application. I am bring the dataset back from the web service with the intention of dropping directly onto a datagrid, however I am getting the following error once I try and transport the dataset. Here is the message that I am getting: Any suggestions? Mike55.
Last reply by mike55, -
- 2 replies
- 1.1k views
Pretty stupid question, but I'm having some problems: How can I rafresh a datasource in Crystal Report designer? I usually use coded datasets, "handfilled" without adapters etc. Whenever I change or add a column in my DataSet schema I can't see the change in the CR Designer. I delete the DataSet in CR then re-add it and put on all the fileds again.
Last reply by IxiRancid, -
-
- Administrators
- 2 replies
- 20.6k views
Hi all, I have a XMLDocument Class that tries to access a bunch of XML files in a folder. However, some of these XML files are still being written while it's has been load. Of course, if I try to load them, I will get an Exception. such as "The process caanot access the file because it is being used by another process...". So I put a block of code before I actually load the files. See below: Dim doc As New XmlDocument() ' *** Wait for exclusive access to file *** Dim haveExclusiveAccess As Boolean = False Dim sr As StreamReader While haveExclusiveAccess = False Try sr = New StreamReader(fileName) haveExclusiveAccess = True …
Last reply by PlausiblyDamp, -
-
Who's Online 0 Members, 0 Anonymous, 59 Guests (See full list)
- There are no registered users currently online