Topics
-
- 3 replies
- 3.7k views
Hello all. I have used in PHP a cool way to send data to webforms (either self-post or posting to other pages) using the $_POST[] global array. In ASP.Net I have used the querystring to accomplish similar functionality. However, now, I need to send data to pages (actually to the same page, self-post) but not through the querystring but using "behind-the-scenes" data passing, like I have in PHP. Hope you can help. I want to implment similar functionality in ASP.Net. P.S: I'm aware I could get away with session variables, so try other way please. ;)
Last reply by Diesel, -
- 1 reply
- 774 views
Hi All, I wanna know if i have to change or to add some code to my project soi it can be viewed correctly on different browsers (IE,firefox,MacOs..).
Last reply by Diesel, -
-
- Leaders
- 19 replies
- 2k views
I used to use VB.net 2003 but switched to 2005 recently. I imported and converted one of the programs I was working on into 2005 and finished it. So now I started a new windows app class. I designed a form with lables and text boxes and such, but when I go to code view, it doesnt show the windows generated code for all the controls I just added like in my last program showed. it just has: Public Class Form1 End Class nothing else... where all the generated code like Friend with lblFoo and Inherits system.windows.forms
Last reply by snarfblam, -
-
- 2 replies
- 948 views
Hi, I have a webpage called print.cgi, that basically prints in paper the text i send in a TextField inside a form called "my_form" with the POST method, and i would like to get this page in my c# windows form application and send to the instruction to print this page a text in the POST variable. how can i do this? Greetings Tiago Teixeira
Last reply by teixeira, -
-
- Administrators
- 2 replies
- 3.7k views
After much trail and error I was finally be able to send some keys to a different application with the Postmessage API. But now I want to send key combinations but I don't kno how to do it and I'm out of ideas too. So here are my attempts: Structure Button Dim Part() As String Dim Desc As String Dim Pushed As Int16 End Structure ... Dim mymsg As New MSG ... mymsg.hwnd = MPChWnd mymsg.message = WM_KEYDOWN mymsg.lParam = 0 ' Tried 15 as well mymsg.wParam = Keys.Control TranslateMessage(mymsg) mymsg.wParam = Keys.Right TranslateMessage(mymsg) mymsg.message = WM_KEYUP mymsg.wParam = Keys.Right TranslateMessage(mymsg) mymsg.wPar…
Last reply by Arokh, -
-
- 2 replies
- 1.3k views
hi i dont no if im in the good section to post this but anyway. i wanna if its possible to send a packets...or hex (binary or any thing) if theres anyone knowing about this please let me know ty
Last reply by Blacksilent, -
- 1 reply
- 1.3k views
Here is my Org Post.. Org I was going to use an Array, but some people said it would be easier done with a DataTable: Hello, I have an array returned with these fields: Name, AmountDue, TypeID, Description The array is (100,1) and string type My problem is.. Some of the people in the array are in there more than once.. (For example they get a bonus on top of their hourly pay). How can I get an array with each entry having a unique Name.. and where the AmountDue is the combination of all money owed to them? example: OrgArray(100,1) OrgArray(0,0) = "Jay" OrgArray(0,1) = "10.00" OrgArray(1,0) = "Jay" OrgArray(1,1) = "1.00" OrgArray(2,0) = "David" O…
Last reply by Gill Bates, -
-
- Administrators
- Leaders
- 3 replies
- 4.7k views
i am having some trouble transitioning a few things with C++ from vb, in vb, i could easily grab the text value from a button's sender property by declaring a variable as a control and grabbing it from there Dim c as Control = sender Dim s as string = c.text walla, however, obviously not so easy in C++, it gives me a cannot covert object -> control...anyone know exactly how to go about doing this?
Last reply by inighthawki, -
-
-
- Administrators
- 2 replies
- 2.4k views
Hi all, Is it possible to print through sockets? I've a printer that allows socket connection to print, it receives data printing at one port and send its status (jam,online,offline,etc...) in another one. I tried to make a connection with a TcpClient from (System.Net.Sockets) and send the data to the printer but it doesn't worked, thus it connected sucessfully. The printer has it own programming language commands to print text and barcodes, it receives a sequence of escape characteres and commands to print the labels correctly. Any idea will be appreciated Thanks is advance, Tiago Teixeira
Last reply by teixeira, -
-
- 3 replies
- 1.1k views
i have writen a write XML sub Private Sub WriteOpts_XML() Dim XMLobj As Xml.XmlTextWriter Dim ue As New System.[Text].UnicodeEncoding XMLobj = New Xml.XmlTextWriter("Opts.xml", ue) XMLobj.Formatting = Xml.Formatting.Indented XMLobj.Indentation = 3 XMLobj.WriteStartDocument() XMLobj.WriteStartElement("EthylOpts") XMLobj.WriteAttributeString("PunishValue", cmbPun.SelectedIndex) XMLobj.WriteAttributeString("BanSetValue", cmbBan.SelectedIndex) XMLobj.WriteStartElement("Options") XMLobj.WriteAttributeString("Nickname", CFNick.Text) XMLobj.WriteAttributeString("PunishTime", txtpun.Text) …
Last reply by teixeira, -
- 1 reply
- 2.6k views
im a very big vb.net fan, very experienced in it, and i decided to start trying C++, yes big jump but im looking through tutorials, but i also like to experiment, and a lot of times tutorials dont answer certain questions. I have it set so when u click a button, it loads a simple function that u preset 2 numbers, and it returns the larger value, and sets the form's title to the larger number. When i try it gives me a cannot convert int -> sting, so i use the .tostring after the function, and it gives me error C2440: '=' : cannot convert from 'overloaded-function' to 'overloaded-function' can someone help/show me how to get this working? btw, this is the code:…
Last reply by inighthawki, -
- 2 replies
- 3.1k views
I want to be able to check if a listbox is empty... and then if it is do someone accordingly. But i can't find something like a .isempty. How would i check to see if the listbox is empty? in VB. :cool:
Last reply by vbMarkO, -
- 1 reply
- 1.9k views
The document located at: http://msdn2.microsoft.com/en-us/library/ms142557(d=ide).aspx has this note listed: "In Microsoft SQL Server 2005, all databases are full-text enabled by default. " But when I try this query: select description from item where contains(description, '"model"') I get this message: Msg 7601, Level 16, State 2, Line 1 Cannot use a CONTAINS or FREETEXT predicate on table or indexed view 'item' because it is not full-text indexed. I am using SQL Server Express, so that might make a difference. Has anyone successfully used full-text search with SQL Server Express 2005? I am trying to find out how to enable the search, bu…
Last reply by FZelle, -
-
- Leaders
- 1 reply
- 824 views
The Richtextbox wont save if it's not visible. Why Not? It did in VB6. Can anyone help me? Thanks, Bernie :mad:
Last reply by snarfblam, -
-
-
- Administrators
- 2 replies
- 1k views
I have a SQL Server 2000 database that has a log file that is entirely too big. The file has grown to be 12 Gb. I tried to shrink it using the Shrink wizard where it says that it only needs 230 Mb. However, after the wizard runs the file remains the same size. The database is backed up nightly. How do I reduce its footprint, and prevent it from growing so big?
Last reply by kcwallace, -
-
-
- Administrators
- 2 replies
- 968 views
I have not worked with asp .net a whole lot. I am building a asp.net website for customers that will have a calendar of events. They need the application to check the the calendar and when there is an event send out an email the day before to those user that requested a notification of that event. Is there anyway I can get the web server to handle this? If so, how do I get it to check the calendar like at midnight or whenever to send the email if necessary? Thanks, Chester
Last reply by cpopham, -
-
- 1 reply
- 981 views
I have written a Visual Basic application that allows the users to scan documents into our system. Basically when the user clicks the scan button the documents get scanned in and saved to a temporary folder until the image get uploaded to the system. I want the user to be able to check a checkbox then hit the scan button and instead of each document being saved has seperate tif all the documents get scanned in and saved as one tif, thereby melding seperate documents together. The problem is that I have no ideal how to accomplish this, any help offered is greatly appreciated.
Last reply by Arch4ngel, -
- 1 reply
- 2k views
I need some guidance! I'm using sendmessage to send keystrokes to another application that is not active. This part works just great. But I am not able to send hotkeys. Say for example. I'm sending keystrokes to notepad and I want the date. One can do this by clicking Edit>Time/Date or sending Alt then E then D. How could I achieve this? Thanks! p.s. I've tried using WM_KEYDOWN, WM_KEYUP, WM_COMMAND to no prevail. I'm sent the commands both to the handle for the specific control and the application itself (hwnd and x) and still no success. This is what I'm using to send the keys so far (sending keys works, just not hotkeys): Private Declare Ansi Function…
Last reply by Sweetve13, -
- 0 replies
- 623 views
Hi, In access this was quite straightforward as we have continuous subforms. I have a memofield in my database where text is stored in paragraphs with a blank line in between each para. The titles are displayed in a listbox. When the user clicks on a title, the paras are split using vbnewline as delimiter, and each para appears one below another in a scrolling continuous form. How can I achieve this in VB 2005 Express using a datagrid ? Thanks !
Last reply by Ultrawhack, -
- 0 replies
- 3.3k views
Hi, I'd like to be able to play mpegs, etc from my hdd in fullscreen mode and overlay text from my database using DirectShow. Can someone please show me some sample code using VB.net 2005 ? Thanks !
Last reply by Ultrawhack,
-
Who's Online 0 Members, 0 Anonymous, 62 Guests (See full list)
- There are no registered users currently online