Topics
-
-
- Leaders
- 1 reply
- 4.5k views
Re: VB.NET --> Screen Resolution Change Example Complete! Split from http://www.xtremedotnettalk.com/showthread.php?t=80165. it works like a charm for me in 8 different pcs, wonderful code, as we say in my country of origin, "¡te vaciaste!" ("you emptied yourself!") however one pc, at home, HP Pavilion Elite DT 2.50GHz, 1 Terabyte, windows 7, lresult = -2, change failed, why? might it be a authorization issue? how can i grant permission to change resolution? thank you.
Last reply by snarfblam, -
-
- 0 replies
- 1.8k views
Hi All I have �Visual Studio 2008 Standard Edition� and �Crystal Reports XI Developer edition�. I have to integrate crystal reports in my application. I am fine developing the reports using the �Crystal Reports IDE� but not sure on how can I integrate those reports into my application. I have downloaded and installed the reportviewer control but not sure how to use it for crystal reports. Any pointers will be highly appreciated. Thanks
Last reply by ankurtandon, -
-
- Administrators
- 1 reply
- 681 views
I am facing one exception("There is no orginal data to access")...When i trying to modify the datarow in the datatable... I searched in the internet and could found that it is a .NETframework 1.1 bug, microsoft has released hotfix to fix issue... I installed the latest version of .NET 1.1 framework and SP1..... But still am facing the same issue.... Anybody plz....help me out.......................:(
Last reply by PlausiblyDamp, -
-
-
- Administrators
- 1 reply
- 724 views
Hi, There are 2 versions of .NET Framework 4: Full and Client Profile. I really don't know to which I should set my application platform. I know Client Profile is a small version of Full Framework. But how should I know if .NET Framework 4 Client Profile will fit the requirements of my application? If possible I prefer Client Profile. Thank you :)
Last reply by PlausiblyDamp, -
-
- 2 replies
- 3.1k views
Hi,I'm trying to split a Alpha-PNG with two bitmaps(.bmp). One is non-transparent bitmap(24Bit) and another is mask(8 Bit). How to make it happend in C# or VB.net?
Last reply by K9998, -
- 0 replies
- 4.7k views
Hello all, I am working on a web app that will add Calendar events to user's Outlook calendars. That part works fine. We have login credentials that will have access to the calendars so that the entries can be created. The entries are being created and saved on the correct dates at the correct time for the correct amount of time. The entries are coming in as 'TENTATIVE' which is what we want them to. I still have two issues, though: 1 - The entries are coming in with a default reminder time of 15 minutes. I know I can change that to some other number of minutes, but I'd rather simply have no reminder at all. 2 - More importantly - The entries are being create…
Last reply by SteveoAtilla, -
hi, I'm trying to do form for registeration I ask user to enter e-mail address and password so when he will write his e-mail i want to check it befor he go to next textbox.... i mean i want to check textbox by textbox before he press registration I'm using vb.net there are some tools for this or what??
Last reply by PlausiblyDamp, -
- 0 replies
- 3.1k views
Hi, I am writing a Windows service in C# 4.0. The application functions as follows: 1) Reads a input stream from some other application 2) Saves the stream in a .tmp file 3) Opens the .tmp in excel object 4) Copies all contents in all worksheet and pastes it as values 5) Save the file 6) Return the .tmp file contents as stream to calling application I am using Excel 2007 Well, 90/100 times it works fine, but on few occasions when the execution code hits the Excel.SaveAs(outputFilename), the executionseems to be at stand still. No exception, no alert, nothing. The Excel instance is seen in the task manager. I am at lost to understand what could be the i…
Last reply by sandeepvdg, -
-
- Leaders
- 9 replies
- 1.9k views
Hi guys, I am new to C# and I need some help. I have two richtextboxes which contain text, containing either .doc, rich text format or plain text. How do I highlight the exact differences between them and highlight the line in which the difference occurred? A source code example would be appreciated.
Last reply by Cactusmania, -
-
-
- Administrators
- 4 replies
- 1.3k views
Hi everyone, I am an intermediate programmer with a basic understanding of VB.NET, however, I am having a problem with a special loop named "recursive". I didn't learn this and now am having a problem here: To select the 3rd subitem/node inside a control named "CrumbBar", I have to: CrumbBar1.SelectedItem = CrumbBar1.Items(0).SubItems(0) CrumbBar1.SelectedItem = CrumbBar1.Items(0).SubItems(0).SubItems(1) CrumbBar1.SelectedItem = CrumbBar1.Items(0).SubItems(0).SubItems(1).SubItems(2) And go through all items, but I need to do this in a LOOP. And I don't know how many nodes I will have to go inside. So I wanna know how can I loop the above code? Someone told …
Last reply by PlausiblyDamp, -
-
- 2 replies
- 7.1k views
This would mostly be like a warning or a help to every non-american native user of VS.NET I had this problem trying to open an Excel workbook to pump some data into. The error pops up if your Office system is english version and regional settings are non-US. You could use Multilanguage pack, however my company has a policy of not installing those packs, so I found this solution: ------taken from microsoft.com (here) -------- Dim oApp As New Excel.Application() oApp.Visible = True oApp.UserControl = True Dim oBooks As Object = oApp.Workbooks Dim ci As System.Globalization.CultureInfo = New System.Globalization.CultureInfo("en-US") oBooks.GetType().InvokeMembe…
Last reply by themhz, -
- 0 replies
- 4.2k views
Dear Experts, Please help me to send parameter programetically to Crystal Report Subreport from C#. I can pass parameter to the main report using the following way: ReportDocument cryRpt = new ReportDocument(); cryRpt.Load("rptMainReport.rpt"); ParameterFields parameterFields = new ParameterFields(); ParameterField parameterField = new ParameterField(); parameterField.ParameterFieldName = "myRoleID"; ParameterDiscreteValue parameterValue = new ParameterDiscreteValue(); parameterValue.Value = 2; parameterField.CurrentValues.Add(parameterValue); parameterFields.Add(parameterField); CrystalReportViewer1.ParameterFieldInfo = parameterFields; Crystal…
Last reply by tahmeed, -
-
- Leaders
- Administrators
- 7 replies
- 894 views
Hey all, I'm trying to generate a random array of 52 integers. My code below works, but doesn't seem to be very random. Now coming from VB I know there was a Randomize() function that helped with this, but I don't know how to achieve the same result in C#. Please help! private int RandomNumber(int min, int max) { Random random = new Random(); return random.Next(min, max); } public int[] GenerateDeck() { int[] DECK = new int[52]; //creates an array to hold thegenerated deck int[] holdDECK = new int[52]; int iArrayLength = 52; int iNextLocation = 0; …
Last reply by Jibrohni, -
-
-
- Leaders
- 1 reply
- 1.7k views
Re: How to save Graphics Objects to disk as Bitmaps Split from old thread. I got the same problem and can't manage it .plz can you help.......
Last reply by snarfblam, -
-
- 0 replies
- 2.6k views
Can someone convert this one line of code for me: perl -MWWW::Mechanize -e '$m = WWW::Mechanize->new; $_=shift; ($i) = /v=(.+)/; s/%(..)/chr(hex($1))/ge for (($u) = $m->get($_)->content =~ /l_map": .+(?:%2C)?5%7C(.+?)"/); print $i, "\n"; $m->get($u, ":content_file" => "$i.flv")'
Last reply by MixenDixon, -
-
- Administrators
- 2 replies
- 4.1k views
My application is designed such that it will handle screen resolutions of between 1024 x 768 and 1280 x 1024 at start up. Problem is - If, whilst the app is running, the user changes the resolution coursing the forms to resize. This is not too bad when switching from a low to a higher mode - at least you can still see the whole form, albeit not quite as you'd like. However, when the reverse is true everything enlarges of course and you can't see the whole form. Because of this there is no way to continue - short of the "Three Finger Salute". My question is - Is there a way in VB.Net to monitor the screen resolution and raise a message if and when it changes…
Last reply by Toby Twerl, -
-
-
- Administrators
- 3 replies
- 685 views
hii Please, I need help if it's possible. I have project. I ask user to enter URLs. So, I must to check if those URLs are valid or not. I want to specify the proxy of my university to able check validity of URLs. Those codes not work at my university and that's becuse proxy. I trying a lot but I couldn�t get the connection of proxy. I�m working in VB.Net not in ASP.Net Proxy : 80 Please replay as soon as possible. Thank you a lot��.. Sincerely, Import System.Net Public Class Form1 Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click 'Dim proxyObject As New WebProxy("http:…
Last reply by PlausiblyDamp, -
-
-
- Leaders
- 2 replies
- 1.2k views
Hey all, I'm just starting out using C# and am trying to learn by converting a program I've started in VB to C#. Sadly I'm stuck early on with trying to generate an array of 52 randomly ordered integers. I have it working but fear that I'm not doing a tidy job. The routine seems very sluggish as opposed to it running in VB. Please can anyone advise on a better way to do this than my method below please? I'm using a goto statement which I have a bad feeling about and it's also doing a fair few iterations that can most likely be avoided. Even so, it shouldn't be taking my nice new i5 processor 3-4 seconds?? private int RandomNumber(int min, int max) { …
Last reply by Jibrohni, -
-
- 1 reply
- 1.3k views
I need to design a web page that will link into an access database and allow data entry and viewing. I have extensive experience with Access, VB and C# but no experience with web apps. I have the option of handing this off, but would rather add a new tool to my skill set. So I need a over view of what I need to do to create and set up an ASP web page. With the overview I should be able to use Google and figure the details out for myself. Links to tutorials are also appreciated. Thanks MTS
Last reply by MTSkull, -
-
- Leaders
- Administrators
- 8 replies
- 1.3k views
Is there a way to quickly find all classes that override a given method? Maybe it would work like the "Find all References" item on the code context menu so you'd get a list of them in the Find Symbol Results window. This would be so useful because, without it, I'm having to look at all classes that inherit a class and might override a method in order to fully understand that method, and that's cumbersome. Any thoughts?
Last reply by rbulph, -
-
Who's Online 0 Members, 0 Anonymous, 18 Guests (See full list)
- There are no registered users currently online