Topics
-
-
- Administrators
- 1 reply
- 1.1k views
How do you call a function which located on another form? :-\
Last reply by PlausiblyDamp, -
-
- 0 replies
- 497 views
Hi, Does anyone know how to make the HideEditBox in DataGrid work? Thanks, Carl
Last reply by scvn, -
-
- Administrators
- 2 replies
- 809 views
Dynamic Link Label (DLL) =================== :confused: Does anyone knows how to convert the following VB 6.0 code to VB .NET ? ( refer to attached pic to view & attached file to view program ) vbTestPics.zip
Last reply by FYRe, -
-
- 4 replies
- 1.9k views
I'd like to check in my program user password for quality (mixed case, letters and numbers and so on). I've googled but without success. Any ideas? Thanx in advance Adam
Last reply by hrabia, -
-
- Administrators
- 2 replies
- 741 views
I am a newbie to .net programing languages. Dim a as string a=" This is a "vb.net" program" When i declare it as string this dosen't work bcs i have a double quotes inside the string quotes.Is there a way to solve this problem
Last reply by FYRe, -
-
- 3 replies
- 1.2k views
Hi, I want to get all the student from a Database table which store student certificate. For example, I need a query of student who "HAVE" 3 certificate(Cert A, B, C). Certificate Table: StudentName CertificateName John Cert A Wilson Cert B John Cert B John Cert C Michael Cert A Output: John sqlQuery = "Select * from CertificateTable Where (CertificateName = 'Cert A') AND (CertificateName = 'Cert B') AND (CertificateName= 'Cert C')" This is my query, but it not works. Calvin
Last reply by calvin, -
- 0 replies
- 548 views
Our ASP.Net Framework 1.1 is running with SP1. Is this correct or do we need another SP?
Last reply by eramgarden, -
- 1 reply
- 1.2k views
Hello, I have the following problem: Using VS.NET, in VB, I am loading a report file (.rpt) into a report document object. During runtime, I modify the RecordSelectionFormula property to filter on a user entered criteria, and then I stream the report out as a PDF doc. The problem I have is that the RecordSelectionFormula has no effect at all. If I bind a report viewer object to the report document object, then the filter works, but if I stream out as PDF, it does not. The ONLY difference in the code is to either bind a report viewer to the report document or stream the report doc out as PDF. The original reports were created with CR 8.5. Any ideas? …
Last reply by clabarca, -
I would like to create a procedure which is fitted for all forms within the program, how can I do that? Thanks PlayKid
Last reply by PlayKid, -
- 1 reply
- 579 views
Background: I have a datagrid that displays information from a stored procedure. Problem: In this datagrid there are numerous instances of the same "main" title (see example) Example Datagrid: Field1 field 2 field 3 Data1 Data2 Unique Data Data1 Data2 Different Data Data1 Data2 More Unique Data So basically.. Field1 and Field2 have different data from themselves, but the data throughout the field is the same. What I want to do is have only the FIRST row of data where Data1 and Data2 are the same (but unique to each other) display and all the other rows beneath them where Data1 and Data2 are the same be blank. How do I do that? (Here is an exampl…
Last reply by wayneph, -
- 1 reply
- 684 views
We moved our ASP.Net app to Windows2003. There are no custom error pages done in this app so users always get the ASP.Net actual errors... Anyway, with 2003..users get a generic "run time" error instead of the actual error. So it's hard to tell where/why the error is happening.. We have customError in webconfig to "off". We also had it to "on" but makes no difference.. is there a security setting somewhere we could set to display the actuall error msg and not the generic "run time"?
Last reply by wayneph, -
-
- Administrators
- 4 replies
- 1.2k views
Hi, I have managed to take the data stored in a SQL Server database table and have written it to and excel file. I am now trying to figure out what is the best approach for doing the reverse to this, i.e. excel to SQL Server. Any suggestions? Am going to look at excel -> xml -> sql server. Mike55
Last reply by Anthony_n, -
-
-
- *Experts*
- 4 replies
- 838 views
I need to write code that will, for example, clear a textbox but not reload the page. It is my understanding that you need to use Javascript for this. If so, how?
Last reply by Bucky, -
-
-
- *Experts*
- Administrators
- 2 replies
- 1.7k views
I have this web.config file and I have added a key value describing the connecting string to a db. I'm wondering whats the easiest way to read the value of the connection string from the web.config file, c# is the language i'm using. <?xml version="1.0" encoding="utf-8" ?> <configuration> <!-- define the custom sections used below - do not change --> <appSettings> <add key="ConnectionString" value="DATA SOURCE=DLNOTC02;User Id=snare;Password=snare"/> </appSettings> <system.web> <customErrors mode="Off" /> <compilation defaultLanguage="c#" debug="true"/> <!--<customErrors mode="Off" …
Last reply by Bucky, -
-
- 1 reply
- 585 views
Anyone in this forum here ever used National Instruments' Measurement Studio using Visual Basic .NET ? Cause, I can't seem to find any relevant information on examples of VB.NET programs using Measurement Studio. If so pls leave me a message. thks, FYRe
Last reply by techmanbd, -
-
- Administrators
- 4 replies
- 1.4k views
Hi y'all is there a way I could force spaces into a string? I have a specification where the Address must be 25 charrs long (if blank charrs then blank it is...). This is the SQL sentence left(trim(b00ca2), 25) where I clearely specify the lenght of the field to 25 charrs. In vb.net I made this logical loop :rolleyes: like this myLenght = Len(datareaderBMBB10(1)) spcs = 25 - myLenght string = datareaderBMBB10(1) & Space(spcs) & ..... Is there a better way?
Last reply by Joe Mamma, -
-
- 0 replies
- 1k views
Hi all, I have managed to select all the data that I need from the database, bind it to a datagrid and then write the data to an excel file which is then saved in my C: drive. My question is, is it possible to write the data in the datagrid into an excel file with a specific template, i.e. MemberID goes into column A, MemberName goes into column B and that the data starts at row 26? Mike55
Last reply by mike55, -
- 1 reply
- 3.6k views
I�m using this code to export data from a datagrid to an Excel sheet: Response.Clear(); Response.Buffer= true; Response.ContentType = "application/vnd.ms-excel"; Response.AddHeader("Content-Disposition", "inline;filename=Clientes.xls"); Response.Charset = ""; this.EnableViewState = false; System.IO.StringWriter oStringWriter = new System.IO.StringWriter(); System.Web.UI.HtmlTextWriter oHtmlTextWriter = new System.Web.UI.HtmlTextWriter(oStringWriter); DataGrid1.RenderControl(oHtmlTextWriter); Response.Write(oStringWriter.ToString()); Response.End(); And this is working fine. But now I want to do same with a datalist and thus I changed RenderControl line t…
Last reply by mike55, -
-
- Administrators
- 6 replies
- 1.3k views
My alarm clock works during the morning hours pre-noon but after noon it fails to initalize. I am thinking it has something to do with 24 hour system vs. the am/pm. Here is my code Public curtime As Date Public hours As Int16 Public minutes As Int16 Public ampm As Boolean Public xampm As String Public timonoff As Boolean Declare Function sndPlaySound Lib "winmm.dll" Alias "sndPlaySoundA" _ (ByVal lpszName As String, ByVal dwFlags As Long) As Long Const SND_ASYNC = &H1 Public waveFileLoaded As Boolean = False Public Function App_Path() As String Return System.AppDomain.CurrentDomain.BaseDirectory() End Function …
Last reply by Machaira, -
-
-
- *Experts*
- 6 replies
- 1.6k views
Hi! I hope you can help me somehow, because I have a big, big problem... I have a grid with some rows. When I click a row my program must verify if there are some specific (important) details for the selected guest (row). If there are, it must show the 'details window'. When I double click a row it must do the same, but after closing the details window, must open the 'master window' of that guest. When I make just one click, everything works fine, but when I make double click not so good :( If there are no details the master window appears. If there are details the 'details window' appears, but when I close it the other window doesn't appear. Do you have a…
Last reply by moongodess, -
-
Who's Online 0 Members, 0 Anonymous, 40 Guests (See full list)
- There are no registered users currently online