Jump to content
Xtreme .Net Talk

zubie

Avatar/Signature
  • Posts

    104
  • Joined

  • Last visited

Everything posted by zubie

  1. Hi All I have a checkbox as the first col in my Datagrid How do I change the value of the checkbox in code? cheers ZuBiE
  2. Hi there I have a Datagrid that can have from about 1 - 100 items I want to buttons at the bottom of that datagrid. Can anyone tell me how to make sure that the buttons always appear just below the DG cheers ZuBiE
  3. OK now I am receiving an HTTP 404: Object not found error Anyone know why an ASP.NET v1.0 will not work on a Domain controller
  4. Anyone know where I can get a list of all the known problems with ASP.NET 1.0 (I seem to be finding them one by one) I'm sure they are somewhere on the microsoft web site but I cant find them cheers ZuBiE
  5. Datagrids, dropdownlists, checkboxes etc. I have a feeling however that the problem lies with the database connection. I am connecting to an Access database on the server. I found an artical saying that this is a known problem with v1.0 and the fix is to GACUTIL adodb.dll I have done this but the problem is still occuring.
  6. Hi I'm pretty sure that the code is fine as it as been tested not only on my machine but it has also been installed on a test server and tested by someone else (Functional Testing) The install that has the problem has been installed onto a seperate server off site.
  7. Hi Man this is giving me a pain in the ... anyway .. I have my project installed on a Domain Controller (fixed the headache that brings along) The index page displays lovely but now when I try and display a page with more than textboxes, labels and buttons I recieve a message Object reference not set to an instance of an object. I think the problem is with the datagrid or with a read to the database. Notes on server: It is a Domain Controller machine.config is using SYSTEM as its user Framework is v1.0 Microsoft Office is not installed on the server. hopefully someone can help cheers ZuBiE
  8. BTW if I make changes to machine.config how do the changes beome active? iisreset??
  9. Hmmm .. well I didnt do the instillation ... It may be IIS 5.0 .... *checking* Yeah it is actually 5.0 *slaps head*
  10. Also I'm logging into the local machine as the Admin and not connecting to the network.... would this be a problem?
  11. Windows 2000 server SP 2 IIS is 6.0
  12. Hi All As it says in the subject this is leading me to become bald. I have installed the .NET framework on a Domain Controller. I then installed my project were I got the lovely problem with Aspnet_wp.exe I have tried all the tricks from Microsoft to fix this including Setting up a new user ASPUSER and giving this all the nessary permisions + given it Log on as a batch job rights I have given ASPNET and ASPUSER write access to the Temp ASP.NET folder the \WINNT\TEMP folder, my project and inetpub folders ... I have changed the machine.config file to use ASPUSER (didnt work), I tried changing the password for ASPNET and using that (didnt work), I tried using SYSTEM (didnt work) OK I'm at my wits end ... need help/sleep/beer .. probally in that order ... here's hoping someone knows what to do cheers ZuBiE
  13. Hi OK that sounds like it could work .. one problem.. I've never done this and hints on where I should look or start cheers Zubie
  14. Hi I have an ASP.NET screen with 3 test boxes and an import button associated with each and a lblMessages label when the import button is pressed it takes the directory details in the text box and opens a specific file (e.g. c:\import\sales.txt) This file is read and the details written to the database This file can be quite large. What I want to do is display messages on the screen detailing the progress. The problem is that no matter what I put into lblMessages.text they dont display on the screen until the processing is finished. I remember in VB 6 there was Do Events which allowed me to do something like this. Anything like this in .NET? cheers Zubie
  15. Hmmm it may not be recommended but I didnt know that until now :) Using it worked for me !!!
  16. You can also create a module (I use Global as the name) Then have something like this Module Global Friend intFunction as integer = 0 This will give you a global variable that can be changed. Hope this helps ZuBiE
  17. What do you mean by making the first entry? is this when you are adding to the list or selecting from it?
  18. Darn ... thats what I thought .. I'll just have to explain it to the users like that thanks ZuBiE
  19. Hi all I wish to read a text file for the c drive of the client machine e.g. c:\import\customers.txt I am using this file to import into the access database on the server. Problem: When I try to open this file from the page it looks to the servers c:\ Anyone know how I can read from the clients PC?? cheers ZuBiE
  20. zubie

    msgbox

    You can execute Javascript code from within the code behind try something like this Response.Write("<script language='javascript'>" & vbCrLf) Response.Write("var name = confirm("Press a button")") Response.Write("if (name == true)") etc .... Response.Write("</script>" & vbCrLf) hope this helps ZuBiE
  21. Hi My project is running on a Novell Client. When I try to display a Crystal Report on the client machine the server displays the login screen with a username of ASPNET If I dont press cancel for the login then the report doesnt display on the client Anyone out there got any ideas?? cheers ZuBiE
  22. Hi I am creating a custom error page for my project. I have updated the web.config and the page displays correctly. What I need is to display the last exception thrown? anyone know how to do this?? thanks ZuBiE
  23. Figured it out .. or I found it on the net :) Add this to the code above Dim attAttachment As MailAttachment attAttachment = New MailAttachment(strFileLocation) msgMail.Attachments.Add(attAttachment) hope this helps someone else ZuBiE
  24. Hi all I am using SMTP to send an email I want to attach a text file to this but I dont know how to define it so that it gets attached correctly... Dim msgMail As New MailMessage() Dim stbMessageBody As New System.Text.StringBuilder() dim strFileLocation = Server.MapPath("") & "\Bonus-" & Format(Date.Now, "dd-MM-yyyy") & ".txt" Try 'CREATE MESSAGE BODY stbMessageBody.Append(strBody) msgMail.From = fromID msgMail.To = To_Email msgMail.Body = "Bonus Orders" msgMail.Subject = strSubject msgMail.Attachments.Add(TextFile????) <-- Problem SmtpMail.SmtpServer = strIPAddress SmtpMail.Send(msgMail) Catch ex As Exception Throw ex End Try hopefully someone can help .. thank ZuBiE
  25. OK I've tried to attach the excel object Problem: I get an error message when I try and add a COM reference to Microsoft Excel Object Library Is there any way I can do this as I dont have a lot of time to play with cheers again ZuBiE
×
×
  • Create New...