Topics
-
- 0 replies
- 1.3k views
I see website http://soft-vn.net. Very like this code Anyone have this code please PM me (I will buy) Thanks
Last reply by onlysoftvn, -
- 1 reply
- 743 views
is there an event in asp.net 1.1 thats triggered when a request for the page is recieved? i want to take info from this request ( browser type , location ) and what not.
Last reply by Gill Bates, -
-
- Administrators
- 7 replies
- 1.2k views
I used Plausably Damp's example to build this code. The example code works but mine does not. I added the files to the resource file, and can see them when I open the Resources.resx file but no matter what I try the myassembly call returns null. I have checked for case sensitivty and ensured that the names are acurate. Not sure where I am going wrong here. private void chkPCBOne_CheckedChanged(object sender, EventArgs e) { //access the resource file where the graphic objects are embedded Assembly myAssem; myAssem = Assembly.GetExecutingAssembly(); System.IO.Stream BlueLED; // this …
Last reply by MTSkull, -
-
-
- Leaders
- 5 replies
- 974 views
controls I have a for loop which looks into all the controls and finds out if any one is a combo box.here is the code foreach (Control ctrl in ctrls.Controls) { if(ctrl is ComboBox) { } } inside the if loop i wanted to select the first vaule in the collections in all the combo box.i am not sure of how to do it here inside the if loop.Can any one help me in this?
Last reply by mskeel, -
-
- 2 replies
- 817 views
Hello, I have a field in a database that contains text with HTML formatting included. How can I get a label or textbox to display the formatting instead of the actual HTML tag. For example my record contains '<B>Catalog</B>'. How can I get it to bold the world catalog instead of just printing out my tags? Thanks!
Last reply by ashutosh9910, -
- 8 replies
- 2k views
Has anyone over here used ZedGraph dlls to create graphs for ASP.NET applications. I am having quite a lot of difficulties implementing it. The help and wiki seems to be insufficient for my case. Would like to have some expert help over the issue. Anyone......... Secondly has anyone ever tried to create an excel document without actually having office installed on the machine. Looks possible as I had a go at it and reached quite near to it. Would like to hear others' views on these points Ashutosh
Last reply by ashutosh9910, -
- 6 replies
- 6.9k views
Hi all, I am trying to use Office Automation in my ASP.NET application using the Office XP PIAs. This is the exception I gt when I try to create a workbook using the following code: Try Dim excel As Application = New Application Dim wb As Workbook Dim missing wb = excel.Workbooks.Open("C:\Inetpub\wwwroot\ExcelWriter\Templets\BenchmarkData_Histogram.xls") excel.Visible = True wb.Activate() Catch ex As Exception Dim strError As String = ex.Message End Try It raises an exception on the line where I open the workbook: wb = excel.Workbooks.Open("C:\In…
Last reply by ashutosh9910, -
-
- Leaders
- 2 replies
- 5k views
I'm using the following code to draw a rotated string inside a circle to a picture box. Any ideas how I could make the picture quality better for the text? I was thinking something like making it first bigger and then smaller - but don't know how to accomplish this. I'm also having problems positioning the text inside the circle. Note that the text width can change. 'This function will draw a circle with rotated text inside it. 'This should be the centerpoint of the text and circle Dim CenterPoint As System.Drawing.Point = New System.Drawing.Point(20, 60) 'Declarations Dim GraphicObject As Graphics Dim BitmapObject As Bitma…
Last reply by JumpyNET, -
-
-
- Administrators
- *Experts*
- Leaders
- 10 replies
- 1.8k views
To me, it seems like we have a full mix of regular users of this forum: a few true experts, a handful of proficient developers (I'd put myself in this group), a very healthy population of advanced beginners, and the always present n00bs. Considering the crowd, I just wanted to raise some awareness about Test Drive Development and unit testing because it is rarely mentioned on this board. Unit tests could be the next big step for an advanced beginner on the road to proficiency or likewise for a proficient programmer on the road to becoming a true expert. I think it's a great technique and worth more community/industry awareness. Who uses TDD? How has it worked for…
Last reply by Cassio, -
-
-
- Leaders
- 7 replies
- 2k views
Hi All, I'm new to DirectX and have been studying the tut's in the sdk but have come across a small problem when resizing the form. I noticed they handle Minimised in the OnResize override but when I size the window to nothing vertically it throws an exception. There is also code in place to handle pausing and reseting the device, these things I can understand but don't help. I've searched high and low for a good explanation but so far I've come up short. I've seen code that handles the sizing of panels to prevent them from being (0,0) say but how do you handle a forms client rect? I probably will move it to a panel anyway but I'd just like to work this one out first. …
Last reply by Talyrond, -
-
-
- Leaders
- *Experts*
- 6 replies
- 2.6k views
Had a quick question regarding using Managed Directx (C#), their corresponding DLL's, and references in my project... Currently I have a few classes that use ("using Microsoft.DirectX.DirectSound;") and therefore I have also included the reference to "Microsoft.DirectX.DirectSound" (from the list). So I tested it out on some non-development machines and at first it just crashed, so I included "Microsoft.DirectX.DirectSound.dll" and yet it still crashed - after much plug-and-playing I realized that for my game to work it also needed "Microsoft.DirectX.dll", I just can't figure out why... The only thing I use is DIRECTSOUND for playing music, I have no direct referen…
Last reply by Talyrond, -
-
- 0 replies
- 918 views
[PLAIN][RESOLVED]Parsing a file with RegEx[/PLAIN] Hi. I normally use substring and other methods to parse files.But I wanted to try something new.I am parsing the file as its streaming from an FTP server on the Web with ASP.Maybe I am in the wrong section.Plus my first time using REgEx..lol.I downloaded that espresso regex tutorial last night. I am having a problem retriveing all of the player names and I don't know why. Here is a small example output of the file.Oh and my first time trying 2005.I have used 2002 or 2003 in the past. 1158089131 [Tue Sep 12 14:25:31 2006] [Tue Sep 12 14:25:31 2006] ------------------------------------------ [Tue Sep 12 14:2…
Last reply by AFterlife, -
- 0 replies
- 1.5k views
I've parsed the command line on a console app a couple of different ways but I'm curious if there is a pattern or "best" way to do it. Physically parsing is easy. I've got a C# implementation of the GetOpt library. It's applying the arguments to the business logic -- setting up the application to run. That is the part I wonder about. Here is what I generally do: Public Class CommandLineApp //define these up top so it's easier to change them later Private Class DefinedParameters Public Const firstArgLong As String = "arg1" //... End Class Public Sub New() End Sub Public CommandLinePattern() //1. Get the command line para…
Last reply by mskeel, -
- 1 reply
- 1.3k views
I've recently been presented with the task of getting a file from a FTP/SSL location automatically for a nightly feed. Thus far I've been able to manually do this using MoveIt Freely software that I downloaded and am are able to perform the necesary commands via command line. Now I'm trying to mimic the commands by running a batch file. For example in my batch file, I have: ftps -e:on -a url -user:username -password:password cd General get file1.txt C:\My Documents\file2.txt Problem is it executes to login perfectly but then the command tool stays up and never executes the change directory command. I can't seem to find out how to make it execute the second line …
Last reply by mskeel, -
- 0 replies
- 1.1k views
Hi, I have a printer connected to the network, and i want to monitorize all its status. I wanna know when it is online or down, and i made a couple of code to do it but it doesn't work at all as it should be. I need to start my application, check if the printer is ONLINE ( i'm using a ping ) after ping == sucessfull i make a socket connect asynchronously with BeginReceive(); in a specific port where printer sends its status (9100 traditional port) and in the function that receives the data from printer and treat it to show some particular printer information. when socket raises an error of connection i make an Asynchronous Ping and i wait its echo to be sucessfull…
Last reply by teixeira, -
-
- Administrators
- 4 replies
- 6.8k views
I know (and have the code) to use webclient async to start a file download, then put code in the progress function to watch the status. Works fine, but its more like a background thread while the rest of your app continues to run... However, I need or would like the abililty to do the same thing only not async. In other words I want to start a download, watch the progress bar and then move on to the next lines of code. I suppose I could watch for when the download finished and then have my code there, but im downloading a few things. and i dont want to have to put it in a seperate form. I would like to: 1; download file a 2; watch progress 3; process file a 4;…
Last reply by OMID SOFT, -
-
- 4 replies
- 4.9k views
i am streaming an Excel file within a popup browser window. i am trying in vain to close the popup window once the "Download File" prompt has been sent. i tried adding a Javascript line to the end of my method to achieve this, but it doesnt work. I suspect because I have cleared the Response object. can anyone help me achieve this annoying hurdle? thanks. my code is below. private void ExportToExcel() { Response.Clear(); Response.Charset = String.Empty; Response.ContentType = "application/vnd.ms-excel"; Response.AddHeader("Content-Disposition", "attachment; filename=" + rb.ReportTitle + ".xls"); this.EnableViewState = false; StringWrit…
Last reply by ashutosh9910, -
-
- Leaders
- 47 replies
- 14.6k views
Right, so...long story short, I have a panel with curved corners. I need the portion of the panel outside the curve to be transparent. La-dee-da, that's easy as pie...done did it. Problem: Due to the amount of graphical processing in the app (and the use of this panel ALL over the place), when the application raises an event or resizes there is alot of "flickering". I traced the issue down to the fact that the application is redrawing the background and for a split second it is showing through all the controls (on each of the panels in the application...so it causes alot of visual nastiness). Now, the true problem arises in that, when I override OnPaintBackground...t…
Last reply by WASTHEBEST, -
-
- 0 replies
- 2.8k views
Hi, all. I have problem with COM+. I created COM+ with C#.NET. I have to call this COM+ from window application(in C#.net) remotely using late or early binding. I called COM+ with late binding, it throws 'Method not found' exception. And I don't know how to do early binding. I didn't have problem to calling COM+ written in VB. I add reference from COM tab. It works ok. However, when I try to add reference of COM+ written in C# from COM tab, it throws error message, "A reference to 'COMPlusServer2003' could not be added. Converting the type library to a .NET assembly failed. Type library COMPlusServer2003 was exported from a CLR assembly and can not be re-imported…
Last reply by goodmorningsky, -
- 0 replies
- 998 views
I have an admin program that I built for me and the other admins at my site. Right now from my web based control center, to access the program you click a link. This opens the download dialog with the options Run & Save. Is there a way that I can skip the dialog box and make it run automatically? The reason I want to do this leads to another question: Since the program is accessed via its URL, so anyone can download it. Can I also pass values to the program from the link? This way if someone finds the program on my server somehow, they cant download it and run it.
Last reply by Ahren,
-
Who's Online 0 Members, 0 Anonymous, 44 Guests (See full list)
- There are no registered users currently online