|
Hi Friend.
in WebForm1
-----------
Dim Send_Data
set Send_Data = createobject("Microsoft.XMLDOM")
Send_Data.load "WebForm2.aspx?popup='data'"
In WEBForm2
-----------
Page_Load
----------
Dim Somewhere
Somewhere = Trim(Request.QueryString("popup"))
You can use the 'Somewhere' variable to display the result 'data'.
With Regards,
Pandian S
|
|
|
|
|
thanks for oyur help.
but understand the problem first. we are even trying the same way to pass values in the URl and catching with query string. but we are not able to get the values.the problem is the webform 2 is a popup web form
ok tell me how do you make a form to appear as a popup
and then catch the querystring that is passed to this popup
h
|
|
|
|
|
hi every body. I want to change font size in crystal report at runtime in VB.Net. can u help me?
|
|
|
|
|
now my vb store date information as mm/dd/yyyy
how do i change the format to dd/mm/yyyy?
even my access also in mm/dd/yyyy
how to change it?
|
|
|
|
|
It's set by your system settings.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
|
|
|
|
|
so there is noway to change it?? is everyone PC also using same format mm/dd/yyy????
|
|
|
|
|
Of course you can change it. It's in the control panel.
If you want to use a different format or culture, specify it when you convert the date to a string.
---
b { font-weight: normal; }
|
|
|
|
|
I found that there is some activeX installed to my IE,
We may see them at IE -> Tools -> Manage Add-ons.
I know one of this is using for capture a drop event, eg:
When the user drop a email form outlook and then the activeX will do something.
If I need to write something such capture the drop event, What topic should I go for?
|
|
|
|
|
Hi,
Im quite new with using VB.NET and I am trying to find out how to send data between programs. From what I have read so far, there are a number of ways to do it. Can someone please give me advice on which method is the best to use with sending data between programs on the same computer and over a network? anyhelp would be greatly appreciated.
Thanks
|
|
|
|
|
How about using the winsock...
http://justicemansoftware.tk
|
|
|
|
|
Hello!
I’m sick and tired of Crystal Reports and it’s dll’s… Anyone knows a reporting tool simple to work, easy to deploy and (hopefully) free?
The objective is to work with vb.net 2003 in windows apps.
TIA
Jorge
|
|
|
|
|
I'm new to Reg Expressions and VB script, but after doing some seaches, I found that the following works well to return the first value...
Set re = New RegExp
With re
.Pattern = "\b[A-Z0-9._%-]+@[A-Z0-9.-]+\.[A-Z]{2,4}\b"
.IgnoreCase = True
.Global = True
End With
Set matches = re.Execute(htmlResult)
getadd = matches.item(0).value
msgbox getadd
If I change getadd to...
getadd = matches.item(0).value + ", " + matches.item(1).value
I can get the first 2 values. The problem is I want all of the values (the total number will vary) in the single variable getadd (I want to return all of the matches in a single message box). Any help?
|
|
|
|
|
create application by using vb.net2005 i add sqldataadapter to my project when i try to configure dataadapter to connect to database this error apear
*************************
an error has occurred while establishing a connection to the server.when connecting to sql server 2005 this failure may be caused by the fact that under the default setting sql server does not allow remote connection (provider:sql network interfaces,error:26-error location server/instance specificed)
**************************
i need to solve this error to end my project
plz answer me very quickly
thanks
ma_refay
ma_refay
|
|
|
|
|
I have created a very simple program that will basically keep and changelog file.
I consists of three forms
1. Main menu form (New Change, Show Summary, Exit)
2. New Change form (textbox, 2 buttons, RT box)
3. Summary Form (RT box control)
What I would like to happen:
1. When user clicks on New Change button in Main Menu I would like it to load the new change form. On the form there is a Textbox for name entry, a button that once clicked adds the name and timestamp to the RT box in Bold font, and a button for Save/Close.
When I Save/Close I would like for the bold text in the RT Box to Append to the top of an existing .rtf file.
2. When user clicks Summary i would like the form to load the .rtf file in its entirety. (Read Only)
Number two I don't have a problem with.
Number one I cannot get to append. Here are the choices I ahve tried thus far:
1. Use the .SaveFile option. Works great but no Append option
2. Use a StreamWriter to write the information. This also works great but I cannot seem to get it to keep the RTF formatting. I have tried a lot of the Encoding types and it does not seem that a Streamwriter can write in RTF encoding. Am I wrong here?
Please let me know in what direction I should head on this...=)
Thanks,
Taen Karth
|
|
|
|
|
A rich text textbox control and a rich text file are two quite different things.
The rich text textbox control is just a textbox that supports formatting, and that can export the formatting as an rtf document.
The RTF file format is a document format, it's not an encoding for formatted text. You can't add text to an rtf file by just appending (or prepending) text. You have to open the rtf document, add the text to the document body, and save the changed document.
---
b { font-weight: normal; }
|
|
|
|
|
So how would I accomplish this task? or is there a better way other than RTF for saving and readin formatted text
Thanks,
Taen Karth
|
|
|
|
|
Im developing a system and the project sponsor wants it to be viewed in 3 different languages, is the a package i can use or do i hard code it?
Thank you
Nothing lasts but nothing is lost
|
|
|
|
|
Internationalization is built into .Net. All of your strings that you show the user can be stored in a resource file and configured for a particular language/locale. There's a lot of material available on MSDN about this.
Logifusion[^]
If not entertaining, write your Congressman.
|
|
|
|
|
Hi
I have a windows application where I have programmed and designed my forms in normal(96dpi). The problem is that some of the users are changing their settings to large font(120dpi) and it is causing the text in the forms to enlarge and it is therefore screwing up the design/look of the pages. I have been able to search online to find some code that is available in VS2005, but I am using VS2003 and it does not seem to have the systemfont class required for those solutions. Does anyone know of how I can implement those solutions or if they know of where/how I can solve this issue? thank you
eg code:
<br />
Imports Microsoft.Win32<br />
<br />
Public Class Form1<br />
Public Sub New()<br />
' This call is required by the Windows Form Designer.<br />
InitializeComponent()<br />
<br />
' Add any initialization after the InitializeComponent() call.<br />
AddHandler SystemEvents.UserPreferenceChanged, New UserPreferenceChangedEventHandler(AddressOf SystemEvents_UserPreferenceChangesEventHandler)<br />
End Sub<br />
<br />
Private Sub SystemEvents_UserPreferenceChangesEventHandler(ByVal sender As Object, ByVal e As UserPreferenceChangedEventArgs)<br />
If (e.Category = UserPreferenceCategory.Window) Then<br />
Me.Font = SystemFonts.IconTitleFont<br />
End If<br />
End Sub<br />
<br />
Private Sub Form1_FormClosing(ByVal sender As Object, ByVal e As System.Windows.Forms.FormClosingEventArgs) Handles Me.FormClosing<br />
RemoveHandler SystemEvents.UserPreferenceChanged, New UserPreferenceChangedEventHandler(AddressOf SystemEvents_UserPreferenceChangesEventHandler)<br />
End Sub<br />
End Class<br />
eatwork
|
|
|
|
|
Im trying to create a folder on a remote server (eg http://Server1/locatonX). any idea of how to check and creat a folder on this server. (I have full access)
|
|
|
|
|
Use the ftp protocol it should be some where under the system.web namespace in 1.1 if 2.0 use system.net
|
|
|
|
|
I have a program that does all of it's work in one master loop on one button click. The form has a label and a progress bar. Every 25 records in the loop the label text is set to display how many records have been processed and the progress bar value is updated accordingly. I finish this display update with a Me.Refresh so that the screen will redraw itself. This all works fine. The problem I'm having is that I'll start my program and while I'm waiting for it to finish I'll pull up some other program, then I go back to check on it's progress and the window will not redraw. How can I get it to redraw in this instance?
|
|
|
|
|
Use thread to do the task.
|
|
|
|
|
ok, before even looking at some posts , i had an example source for using the WNetOpenEnum.But i dont understand anything .. what do the params. mean.. and how do i use it?
These are the params.... .
· dwScope<br />
Specifies the scope of the enumeration. This parameter can be one of the following values:<br />
RESOURCE_CONNECTED<br />
All currently connected resources (the dwUsage parameter is ignored).<br />
RESOURCE_GLOBALNET<br />
All resources on the network.<br />
RESOURCE_REMEMBERED<br />
All remembered (persistent) connections (dwUsage is ignored).<br />
<br />
· dwType<br />
Specifies the resource types to enumerate. This parameter can be a combination of the following values:<br />
RESOURCETYPE_ANY<br />
All resources (this value cannot be combined with RESOURCETYPE_DISK or RESOURCETYPE_PRINT).<br />
RESOURCETYPE_DISK<br />
All disk resources.<br />
RESOURCETYPE_PRINT<br />
All print resources.<br />
<br />
If a network provider cannot distinguish between print and disk resources, it may enumerate all resources.<br />
<br />
· dwUsage<br />
Specifies the resource usage to be enumerated. This parameter can be a combination of the following values:<br />
0<br />
All resources<br />
RESOURCEUSAGE_CONNECTABLE<br />
All connectable resources<br />
RESOURCEUSAGE_CONTAINER<br />
All container resources<br />
<br />
This parameter is ignored if the dwScope parameter is not RESOURCE_GLOBALNET.<br />
<br />
· lpNetResource<br />
Points to a NETRESOURCE structure specifying the container to enumerate.<br />
If this parameter is NULL, the root of the network is assumed. Windows organizes a network as a hierarchy; the root is the topmost container in the network.<br />
<br />
· lphEnum<br />
Points to a variable filled with an enumeration handle that can be used in a subsequent call to WNetEnumResource.
i have only ONE workgrounp and i need to enumerate all the computers in IT.. .but could someone PLEASE EXPLAIN.. the API to me... or gimme a link to a TUTORIAL not some crazy source code =( . i might need to use this API later on for more complex things...
also... .... this was the example..... http://gideon.110mb.com/code.html
When i RUN this code i get C: UNC path C: ...WHAT THE HECK DOES IT MEAN!?
Thanx
Gideon
|
|
|
|
|
Hi.
I need to create a console application that has to run DTS located on the server.
Does anyone knows how to do that?
I have imported Microsoft DTSPackage Object Library to my application and created an obect.
But what do I do next? I guess I'm not sure how to use pkg.LoadFromSQLServer
My test DTS returns String to me. How do I capture it? DTS I'm writing the application for does not return anything, I just need to execute it on a scheduled basis.
Dim pkg As DTS.Package2
pkg = New DTS.Package2
Any help would be appreciated.
Thanks Alex.
|
|
|
|