Topics
-
- 0 replies
- 676 views
Hi, I am looking for a .NET HTML editor commercial component to use in my VB.NET application which supports both x86 and x64 platforms. The more I google the less I found! If anyone knows about a good one please tell me :) Thanks :)
Last reply by usvpn, -
-
- Administrators
- 1 reply
- 1.6k views
Hello! i have such problem. I need make redirection to root of my site. when I try to rebuild my code from htaccess to webconfig in special application I have error 500 or redirection does not work! so... could you please help me with redirection? thank oyu!!! ________________________________ Cuban cigars
Last reply by PlausiblyDamp, -
-
- 0 replies
- 637 views
Hi to all How Can I know about the status of system services? and if their status were Stop, is there any way to Start Them? And How can i change the StartUp Type of them? I find in msdn that I must use OpenSCManager, OpenService, QueryServiceStatus[Ex], ChangeServiceConfig[2], ControlService[Ex] but I don't know where to start and how to program it in VC++.NET? Thanks
Last reply by Engineer Mahdi, -
- 0 replies
- 569 views
Hi every one i made a database gateways to access multiple database with Oledb I have made Insert() Select() Delete() but there is some problem in Update I am giving my Update code and their method of using but i am not able to decide how user will give fields ant its value and type send foe updation public void UpdateData(string DatabaseProvider, string DatabaseName, string TableName,Dictionary<string ,string> DC,string Condition) { string kk = null; int i = 0; foreach (KeyValuePair<string, string> jj in DC) { kk = kk + jj.Key + "=" + jj.Value ; if (i == DC.Count- 1) …
Last reply by unixnag, -
-
- Administrators
- 2 replies
- 1.2k views
Good afternoon, I have a form that contains some user controls. Whilst any of the user controls are performing a certain function I would like to disable a button on their containing form. How can I do this when they are effectively separate classes? Form1.cs UserControl.cs Regards, Mike
Last reply by Jibrohni, -
-
- 1 reply
- 3.6k views
Ok, I'm trying to print some code bars with a Zebra TLP 2844 throught a routine I developed in C#. However, I can do everything excepted aligning the labels. The printer came up with a setting-up utility to adjust the labels height, width and gap. I've set everything right. But when I print anything I see that the printer does not stop at the beginning of the next label, instead it stops at the very middle of the next label. I discovered that when I access the properties of the printer settings through my Printing Dialog Window the settings do not get loaded. From Word or Excell, I can see everything right, i.e I can read the settings exactly as I instructed through…
Last reply by EFileTahi-A, -
- 2 replies
- 4k views
Hi All, I am new to ASP.NET and this forum as well. My task is to create dynamic textboxes, I have taken a table where each row contains 5 textboxes and assigned to panel when the user press enter in the 5th textbox new row is created. I have given id as TXT + table.row.count so the id's as follows txt1,txt2... for each column.. now my requirement is before creating new row I need to check whether last two textboxes values in the row is equal or not then I have to prompt a dialog with YES/NO options to user. I could not do in server side(VB) since the id's of textboxes are not accessible in page load method. So I worte code in javascript but here there is no c…
Last reply by MTSkull, -
-
- Administrators
- Leaders
- 19 replies
- 107 views
Just wondering if anyone at INet has had chance to investigate the bug mentioned in this post as it does make the cs code blocks ugly and difficult to cut and paste.
Last reply by PlausiblyDamp, -
-
- 0 replies
- 2.5k views
I've been tryna do this for a long time now. this is the url i want to post at. http://promalechoice.com/post/pro-male-choice-is-not-bad.aspx ///Create post information. StringBuilder baseRequest = new StringBuilder(); baseRequest.Append("txtName634119556352311642"); baseRequest.Append("="); baseRequest.Append(System.Web.HttpUtility.UrlEncode("hulk hogan")); baseRequest.Append("&"); baseRequest.Append("ctl00$cphBody$CommentView1$txtEmail"); baseRequest.Append("="); baseRequest.Append(System.Web.HttpUtility.UrlEncode("hulkmedia@gmail.co…
Last reply by truedeity, -
- 0 replies
- 1.1k views
Is there any way that I can have a property show up in the PropertyGrid but not be exposed otherwise outside my project? It seems that Friend properties aren't displayed in the PropertyGrid, so it looks like this might be difficult.
Last reply by rbulph, -
-
- Moderators
- Administrators
- 9 replies
- 1.6k views
Any free utilties for giving summaries of vb.net projects? Things like number of comments lines, total number of lines, procedures, etc....?
Last reply by rbulph, -
-
-
- Administrators
- 1 reply
- 674 views
Hi all, I'm new to C# and I'm having a problem. In VB.net I'm able to access the controls on another form (ex: a MDI child form) when I try to do the same in C#, the controls arn't listed. How would I go about accessing the controls on another form?
Last reply by PlausiblyDamp, -
-
-
- Administrators
- 3 replies
- 1.5k views
Afternoon all, I have a little project that represents a petrol station. I have a user control that represents a petrol-pump. These can be added and removed dependant on how many are required. In my user control I have a combo-box that holds the fuel choices {Diesel, Premium, Unleaded} for example. The problem I have is that when I select a fuel in one instance of a user control, it also changes the selection in all other instances. I thought they would be completely independant of one another? How can I achieve this? I want to have one pump running Diesel, whilst the others can be running Unleaded or Premium. My code is below - I'm currently adding them dy…
Last reply by PlausiblyDamp, -
-
-
- Administrators
- 4 replies
- 1.6k views
I have a web app that runs fine on the Dev Machine but, when run from a folder on the server it cannot find files in the code behind. When I run it locally I can find all files. On the server, any <a> redirects work file but I can not use Response.Redirect in the code behind. //in the aspx page the following always works... <a href="NextPage.aspx?SID=1234">Go To Next Page</a> //in the code behind the equivalent does not work on the server. // But does work on the development machine Response.Redirect("~/NextPage.aspx?SID=1234"); On the Server the pages are located in a subdirectory. Updating the redirect to include the sub dir also does no…
Last reply by MTSkull, -
-
Hi everybody, I am so sorry if this is a very newbie question but I need help in this field as my search didn't return good results. I am creating/writing a XML document but using a string builder!!! Everything is alright and working great but one thing: I noticed that fields that contains special characters like & will cause the whole XML document to corrupt! So I found that I need to change & with & in my document. There are 2 questions now: 1. Using String.Replace is the best way to do so? Is there a better function for this in .NET framework? 2. What about other special characters I don't know about? Thank you :)
Last reply by PlausiblyDamp, -
-
- Administrators
- 1 reply
- 753 views
Could you guys suggest a good third party DLL that allows editing PDF files? I mainly need to view, remove and add pages. The DLL should be compatible with Visual Basic Express 2008 or 2010.
Last reply by PlausiblyDamp, -
-
-
- Administrators
- 4 replies
- 16.7k views
Hi All, Brand new to the forum, I have been reading for a short while and have found lots of intresting threads that have helped me begin with .NET and specifically (C#) so thanks for that! Anyways, here is what I have been up to while learning... I am writing a windows forms application that utilizes an SQL SERVER EXPRESS database to store and retreive data. What I would like your views on really, are the best practices when retreiving data from the database... at the moment I have a class which basically contains a set of methods that I use to retreive different bits of data from my database... for example... private string connectionString = Configuration…
Last reply by SNK111, -
-
-
- Administrators
- 1 reply
- 1.5k views
Hi, How do you get the CommonFilesFolder and CommonFilesFolder64? For example: C:\Program Files\Common Files\ C:\Program Files (x86)\Common Files\ In VB.NET on a x64 platform? I know how to use Environment to get CommonFiles folder but it returns the x86 folder and not x64, maybe because my app is set to x86? However, I need to get both paths correctly, anyway you know? Please help, thanks :)
Last reply by PlausiblyDamp, -
-
- 0 replies
- 1.1k views
This Thread is about divil's article about Hosting Windows Forms Designers http://www.divil.co.uk/net/articles/designers/hosting.asp How can I Add a control in designer manualy from code and without ToolBoxService? I use the following code but it dose not work host.CreateComponent(typeof(MyClasses.Controls.Box), "box1"); Thanks
Last reply by hamid, -
- 1 reply
- 1k views
Hi there. I have a datagridview with 3 columns: Simbol, Denumire, Functie. Can i add the text from a textbox in the rows under each column. I mean i have 3 textbox named txt_simbol, txt_denumire and txt_functie and i want to add the text from txt_simbol to Simbol row and so on... Thanks, Alexandru Vint.
Last reply by hamid,
-
Who's Online 0 Members, 0 Anonymous, 50 Guests (See full list)
- There are no registered users currently online