classic news in world
classic news in world
************************************
http://indianrailroads.blogspot.com Tag: Glamour models & Fasion designing New look watch my profile Tag: 415327
App remains in processes
Hi
I have a winform app. When this app is closed it remains under 'Processes'
in Task Manager. What is the problem and how can I ensure that app closes
completely and releases all resources?
Thanks
Regards Tag: Glamour models & Fasion designing New look watch my profile Tag: 415308
saving pictures
how do i open, save and retrieve pictures? with mySQL as my database.
--
Message posted via http://www.dotnetmonster.com Tag: Glamour models & Fasion designing New look watch my profile Tag: 415302
PrintPreviewDialog Question
Hi
When I use the PrintPreviewDialog control I would like the user to be able
to choose the printer when they decide to print.
Apparently no event is raised when the user click on the Print Icon
Can anyone suggest what can be done?
Thank you in advance,
Samuel Tag: Glamour models & Fasion designing New look watch my profile Tag: 415295
All comboboxes automatically changing when user changes only one ???
Hi,
I have a strange question... I have a series of combo boxes being
populated by the same dataset, and I've noticed if one is changed then
all change as well. I'm using Visual Basic 2005 and writing a Winform
app, and below is how I'm binding the dataset to the combobox object:
cbTotalCurrency.DataSource = CurrencyDataset.Tables(0)
cbTotalCurrency.DisplayMember = "CurrencyName"
cbTotalCurrency.ValueMember = "CurrencyID"
I have about 5 comboboxes using this same dataset and if I change any
of the dropdowns in the application when running, all 5 change to
whichever one I selected.
Other than creating 5 different datasets, is there anyway around
this? I want the user to be able to select a different item in each
combobox.
Thanks --
Alex Tag: Glamour models & Fasion designing New look watch my profile Tag: 415291
Exporting unicode characters to a file (at this point I dont care
We purchased som software for encoding a barcode. We want to
automate the process of converting a number to a readable barcode.
However, I am having a few issues.
The file that the barcode needs to be appended to is dbf file type,
I wrote a dbf writer so adding data on the fly is not a problem, the
problem is
trying to get the correct encoding. The barcode utility that we
purchased
works fine. However, when I write the values of the barcode to a dbf,
txt, csv, the
values are not identical. Here is the data comparision.
Original value of the field that is being converted to a barcode:
41864-00001~
the conversion value is: (value generated by the barcode utility that
we purchased):
=C3=8DIv=C3=884-0=C3=87=C3=82!=C3=88~}=C3=8E <--- note this is t=
he value I need to be
exported for barcode scanning.
I use a binary writer to export the values to a dbf file and when i
open the dbf to view it, I get the following values:
'using System.Text.ASCIIEncoding.UTF8.GetBytes(_importCode)
=E2=94=9C=C3=ACIv=E2=94=9C=C3=AA4-0=E2=94=9C=C3=A7=E2=94=9C=C3=A9!
'using System.Text.ASCIIEncoding.UTF7.GetBytes(_importCode)
+AM0-Iv+AMg-4-
I've also tried writing it to text file, but still the same issue. We
currently are using a vba module to export the file however
this is not done using automation. Any advice? Tag: Glamour models & Fasion designing New look watch my profile Tag: 415290
populating Crystal Reports from DataGrid data
I am trying to populate a Crystal Report from data in my DataGrid.
The
reason for this is that I want the user to be able to change values
without updating the database, but still have their report reflect
the
values they anticipate committing to see hypothetical totals of
columns from a set of records. These records are displaying properly
on my DataGrid but I'm not sure how to get Crystal Reports 10 to use
as its datasource the dataset in memory that could be had directly
from the datagrid.
I'm guessing I need to Dim a new DataSet, populate it from the
datagrid, and set the new dataset as the datasource for CR. But how?
How can I specify that the Datagrid's DataSource property can be
explicitly cast as a DataSet object that CR can pick up. And how in
CR
do I tell it that this resultingDataSet is what it needs for the
report?
I found a snippet of code that may work as PART of the solution, but
I
need a little direction.
Private Sub FillDataSet(ByVal DataFromGrid As DataSet)
DataFromGrid = CType(dgEmployees.DataSource, DataSet)
End Sub Tag: Glamour models & Fasion designing New look watch my profile Tag: 415288
Communicating between services
Hello,
I'm trying to let two services communicate with eachother.
Just don't now where to start!!
Some help would be welcome.
Regards,
Q Tag: Glamour models & Fasion designing New look watch my profile Tag: 415287
Second audio file gets truncated
I am using Windows Media Player to play my half second audio files one after
the other using the code below...
My problem comes when I play a second audio file immediately after the first
one stops sometimes on slower computers the audio on the second file gets
truncated on the beginning of playing the second file. What can I do to
minimize this truncation of audio? Right now I am having to add 1 second of
blank audio to the beginning of the second audio file but I would rather not
have the delay.
Here the code I am using ...
+++++++++++++++++++++++
' Play first voice file
AxWindowsMediaPlayer1.URL = voice1.mp3
' Play echo voice file once first one completes
If e.newState = Me.AxWindowsMediaPlayer1.playState.wmppsStopped then
BeginInvoke(New MethodInvoker(AddressOf playItAgain))
end if
Private Sub playItAgain()
AxWindowsMediaPlayer1.URL = voiceEcho.mp3
End Sub
+++++++++++++++++++++++
Thanks!
Bob Tag: Glamour models & Fasion designing New look watch my profile Tag: 415282
RegEx: Groups
Hello,
I want to process an SQL string. It should leave only the SELECT-part, the rest
should be cut.
SELECT bla, bli from hallo WHERE x=4
I define three groups with \(\) and substitute it only by the first group.
In my editor vim the subsitution works as follows:
:s/^\(.*\)\([ ^I]\+from[ ^I]\+\)\(.*\)$/\1
results in
SELECT bla, bli
Question:
Beside of the reg-ex-dialect ( i.e. .Net uses () instead of \(\) ), how do I
work with Groups in .Net?
Thank You
Joachim Tag: Glamour models & Fasion designing New look watch my profile Tag: 415280
Moving to a new development computer
Hi,
I am using Visual Studio 2003.
After moving my project to a new development computer my project compiles
and works on the new development computer but the program will not work when
I test it on the client's computer. . I checked and both old and new
development computers have the same list of references.
When I switch out only the exe that was compiled using the same project code
on the old dev computer the client installation likes that exe. What am I
missing on getting the new development computer configured to compile like
the old one?
Thanks!
Bob Tag: Glamour models & Fasion designing New look watch my profile Tag: 415278
DataTable NewRecord, Delete, then AcceptChanges
Assuming that I have a table with a single, auto-generated primary key and a
TableAdapter/DataTable that references it, what would happen if I add a new
row to the DataTable in code, Delete it, then pass it to the TableAdapter's
Update method? Would calling AcceptChanges have an effect on this?
I'm building a wizard that allows the user to enter information into a
gridview. the gridview's rows and columns are dynamically generated based on
selections on the wizard's first page. i commit the gridview's data in bulk
when the wizard's finish button is clicked.
i'm concerned that the back and forth movement between page one and two will
generate a complex series of NewRows, Deletes, etc. that will make saving the
data a huge challenge.
thoughts appreciated.
thanks in advance.
Craig Buchaan Tag: Glamour models & Fasion designing New look watch my profile Tag: 415274
Configuration system failed to initialize
Hi all,
I have set up ODBC connection through data source configuration wizard and I
can run my application normally. But without any changes of my application &
ODBC connection, the error is occurred when running my application now.
Please help.
Error messges : Configuration system failed to initialize
code file : Settings.Designer.vb
Error statement : Return CType(Me("ConnectionString"),String)
Best regards,
Jason Tag: Glamour models & Fasion designing New look watch my profile Tag: 415264
Configuration Manager - missing / cannot find.
I am going throug a vb 2005 book, but I am using vs 2008 professional, and I
cant seem to find a menu option its talking about.
I am wondering if this has moved - i cannot seem to find it for the life of
me in any of the menus.
Looking at the help file however - it says the menu option is exactly how my
book states but I do not have it.
I created a Dummy Windows Application - saved it ( solution and project )
and I cannot find the Configuration Manager.
-----------here is what the windows help says under (Configuration Manager)
You can create your own configurations using the Configuration Manager
dialog box.
To open the Configuration Manager dialog box
In Solution Explorer, select the solution.
On the Build menu, choose Configuration Manager.
<I do not have this menu option >
------------here is what my book says
It says -
To create a custom project configuration, select the Configuration Manager
command on the Build menu or on the context menu that appears when you
right-click the solution node in the Solutions Explorer. ( See figure
4-15. )
Figure 4-15 has a window
"Configuration Manager
the top dropdown box has a label of
"Active Solution Configuration" with a "Debug" option selected...
and beside it there is an "Active Solution Platform:" label with a dropdown
with "Any CPU" listed
There is a datagride with a heading label:
"Project contexts (check the project configurations to build or deploy):
and the columns are:
Project / Configuration/ Platform / Build
I have noticed that there is a difference in the toolbar above that has an
icon "Start Debugging",
I do not have a dropdown that shows the "Debug or Release or Configuration
Manager" dropdown box.
Thanks,
Miro Tag: Glamour models & Fasion designing New look watch my profile Tag: 415260
af 9400pvr hdmi hdmi kabel fuer x hdmi kabel von hdmi 720p x box 360 hdmi kabel
af 9400pvr hdmi hdmi kabel fuer x hdmi kabel von hdmi 720p x box 360 hdmi kabel
+++ BILLIGE HDMI KABEL KAUFEN +++ BILLIGE DVI KABEL KAUFEN ++
http://HDMI-KABEL.BUYONLINE24.INF
http://HDMI-KABEL.BUYONLINE24.INF
http://HDMI-KABEL.BUYONLINE24.INF
http://HDMI-KABEL.BUYONLINE24.INF
http://HDMI-KABEL.BUYONLINE24.INF
http://HDMI-KABEL.BUYONLINE24.INF
http://HDMI-KABEL.BUYONLINE24.INF
http://HDMI-KABEL.BUYONLINE24.INF
http://ibm-news.for-um.de/showthread.php?t=1493
http://ibm-news.for-um.de/showthread.php?t=1488
http://ibm-news.for-um.de/showthread.php?t=1480
http://ibm-news.for-um.de/showthread.php?t=1473
http://ibm-news.for-um.de/showthread.php?t=1473
http://ibm-news.for-um.de/showthread.php?t=1453
http://ibm-news.for-um.de/showthread.php?t=1178
k9agm2 fih hdm
hdmi kabel lc
dvi i hdmi kabe
dvi hdmi adapte
hdmi kabel tes
hdmi decode
was ist ein dvi kabe
box 360 hdmi kabe
blue hdmi kabe
hdmi kabel
meter hdmi kabe
dual link dvi kabe
dvi kabel 1
benq hdm
dvi vga kabe
hdmi dvi converte
hdmi 1080
hdmi kabel 1
hdmi kabel
775 hdm
360 hdmi kabe
hdmi kabel fuer playstation
und dvi kabe
dvi nach hdm
k8 hdmi kabel
radeon hdm
hdmi kabel
dvi a kabe
hdmi kabel 0 75
pure innovation hdm
hdmi oder vg
hdmi kabel ode
dvi anschluss kabe
snakebyte hdmi kabe
mini dvi hdm
hdmi kabel in Tag: Glamour models & Fasion designing New look watch my profile Tag: 415256
Extra Property on Controls -- IExtenderProvider vs Inherited Class
Hello,
I'm migrating a VB6 app to .Net and of course it uses the DataField
property for databinding, which of course isn't available under .Net.
On several forms it also uses the Tag property to "group" controls for
display/enabling, so I can't just switch from DataField to Tag.
Which would you consider the better practice -- to create a subclass of
the various controls and and the extra property that way, or to use an
IExtenderProvider class to add it?
(Of course the 3rd option is to simply use a naming convention to
"hold" the extra information, but I don't like that).
Any suggestions? Comments?
--
J.B. Moreno Tag: Glamour models & Fasion designing New look watch my profile Tag: 415252
asp.textbox with variable height
In an asp.tablecell I have a textbox.
The row has two cells.
Sometimes the textbox is the tallest and sometimes the other cell is the
tallest.
When the other cell is that tallest I like to change the textbox's height to
use the entire cell's height.
That is I'd like the text box to just fit the cell's height but have a
minimum height.
Do you know how to do that?
I'd guess it needs code behind but am not sure.
Thanks Tag: Glamour models & Fasion designing New look watch my profile Tag: 415248
Getting a reference warning during ClickOnce
In a VS2005 project that I am publishing with ClickOnce, a warning message
appears saying "Unable to apply publish properties for item
"microsoft.visualbasic.powerpacks.printing.printform". The project formerly
referenced this object, but it was removed from the References tree node
after all code needing the reference was deleted. It does not show in the
Project References tab under References: or Unused References. It does not
show up under Publish. Applications Files. It is listed in
Publish.Prerequisites, but is unchecked. And finally, I have searched for
"powerpacks" in the code, but found nothing.
Can anyone else suggest another place to search?
Thanks in advance...
Dean S Tag: Glamour models & Fasion designing New look watch my profile Tag: 415246
Coding question
Hello -
I found the following code on the Internet which is perfect for my needs
with datetimepicker controls:
Private Sub dtpOther_ValueChanged(ByVal sender As Object, ByVal e As
System.EventArgs) Handles dtpOther.ValueChanged
Dim newTime As DateTime = dtpOther.Value
Dim hr As Integer = newTime.Hour
Dim min As Integer = newTime.Minute
Dim sec As Integer = newTime.Second
If (oldTime.Hour = 23 AndAlso newTime.Hour = 0) OrElse (oldTime.Hour
= 0 AndAlso newTime.Hour = 23) Then
hr = oldTime.Hour
End If
If (oldTime.Minute = 59 AndAlso newTime.Minute = 0) OrElse
(oldTime.Minute = 0 AndAlso newTime.Minute = 59) Then
min = oldTime.Minute
End If
If (oldTime.Second = 59 AndAlso newTime.Second = 0) OrElse
(oldTime.Second = 0 AndAlso newTime.Second = 59) Then
sec = oldTime.Second
End If
If hr <> newTime.Hour OrElse min <> newTime.Minute OrElse sec <>
newTime.Second Then
dtpOther.Value = DateTime.Now.Date.Add(New TimeSpan(hr, min, sec))
End If
oldTime = dtpOther.Value
End Sub
I have nine timepicker controls which all need to do the same thing as the
above. How can I consolidate it in code instead of doing one each of the Sub
for each of the controls?
I know it's an elementary question for a lot of you, but I'm just learning
this stuff.
Any help will be appreciated!
--
Sheldon Tag: Glamour models & Fasion designing New look watch my profile Tag: 415220
Setting Single Cell in DataGridView
My apologies upfront for what I am sure is a newbie question, but I
have been unable to find an answer via search.
I am a VB6 programmer trying to write programs in VB 2008 Express.
I have an 'unbound' datagrid control view on a form and just want to
be able to write text to individual cells.
I can programatically set the number of rows and cells, but have been
unable to select and/or write to cells.
Simple things that worked for the FlexGrid view in VB6 don't seem to
apply;
I can't just write (on a command button click event)
me.datgridview1.row= 1 ; me.datgridview1.col= 1 ;
me.datgridview1.text= "something"
These all seem to result in syntax errors.
How do I do a simple thing like this?
Thanks in advance Tag: Glamour models & Fasion designing New look watch my profile Tag: 415218
Save Files from my desktop to SQL Server
We have a ASP.Net/SQL Server application that is used as a document
management system. The documents are stored per project. The files are
stored on a file server but we store the file name in the database and when
displaying the files build a grid at run time to allow users to view the
files like http://servername/files/filename.doc
The problem we have currently is users have to use the web form to upload
the files to database. Most users will work in thier local pc and when done
will use the form to upload the file.
What we want them to be able to do is to Right Click on any document/file
and select "Save to Doc Manager" function. They enter the project id and the
file is then saved automatically using the same method that is used on the
web. i.e. copy the file to a specific location and add an entry to the sql
server table.
Does anyone know how this can be achieved?
Thanks
Jas Tag: Glamour models & Fasion designing New look watch my profile Tag: 415215
UTCNow <> GMT
Hi there
I'm trying to use the IsDaylightSavingTime property of the datetime
object.
The PC I am using is in GMT,
DateTime.Now.IsDaylightSavingTime() returns true
DateTime.UtcNow.IsDaylightSavingTime() returns false
The times also differ by 1 hour.
As far as I was aware, GMT = UTC
http://www.dxing.com/utcgmt.htm
But quite evidently .NET thinks otherwise. I desperately need a
resolution to this.
Any idea how I get the time in GMT with VB.NET? Obviously UtcNow is
*not* an option.
Thanks in advance.
Nick. Tag: Glamour models & Fasion designing New look watch my profile Tag: 415178
Concurrency error handling
Hi
I have asked this question before but have not received any clear answer. I
have a winform app with bound controls via dataadapter/dataset combination.I
have a dbconcurrency exception ex. Now I have the following;
DataRow = ex.Row
DataTable = ex.Row.Table
DataColumns = ex.Row.Table.Columns
DataSet = ex.row.Table.Dataset
How can I now via code, do the following;
1. Make a copy of the datarow,
2. Re-read the row from datasource,
3. Update read row with values form row copy.
Any help woudl be appreciated.
Many Thanks
Regards Tag: Glamour models & Fasion designing New look watch my profile Tag: 415177
Need Table and Subtable in RDLC
I need a Table object in my RDLC with 6 columns on the top several rows, but
1 column on the bottom two rows:
COLUMN1 COLUMN2 COLUMN3 COLUMN4 COLUMN5 COLUMN6
COLUMN1 COLUMN2 COLUMN3 COLUMN4 COLUMN5 COLUMN6
COLUMN1 COLUMN2 COLUMN3 COLUMN4 COLUMN5 COLUMN6
-----------------------COLUMN1-----------------------------------------
-----------------------COLUMN1-----------------------------------------
I was able to acheive this (and get it to work in the development
environment) by adding a table of 6 columns into the header of a table
containing 1 column. When deployed it didn't work. Go figure.
Q1: Is there an equivalent to COLSPAN in the table object in a report?
Q2: Is there a way to have data from COLUMN1 cover empty cells COL2-6?
Q3: Do I need to create a subreport to acheive what I need to do?
Thanks,
--
stullhe104 Tag: Glamour models & Fasion designing New look watch my profile Tag: 415175
VS2005 vb.net DLL - interop EXCEL
Hello All
I am working a on web application created in Visual Studio 2005 VB.
It has to do some work with Excel files, so I created a DLL in VS2005.
My development machine is XP SP3.
When my web app runs it opens a few excel files and fills certain locations
and then the excel spreadsheet is calculated.
(there are many calculations)
To ensure I was closing only the files I had opened during this process I
use code like this:
Dim ClassName As String = "XLMain"
Dim XLNumbers As Int16
Dim WindowHandle As Int32
Dim ReturnVal As Int32
Const WM_QUIT = &H12
For XLNumbers = 12 To 17
WindowHandle = FindWindow(ClassName, "Microsoft Excel - ROI_" &
Request.QueryString("ROIHeaderID") & "_" & CStr(XLNumbers) & ".xls")
If WindowHandle Then
ReturnVal = PostMessage(WindowHandle, WM_QUIT, 0, 0)
End If
Next
WindowHandle = FindWindow(ClassName, "Microsoft Excel - ROI_" &
Request.QueryString("ROIHeaderID") & "_ALL.xls")
If WindowHandle Then
ReturnVal = PostMessage(WindowHandle, WM_QUIT, 0, 0)
End If
This works perfectly on my development machine.
The deployment machine is Windows Server 2003.
None of the excel files close using the code above. The only thing that
works there is using something like this:
' check for any EXCEL processes that stuck
Dim objWMIcimv2 = GetObject("winmgmts:" _
& "{impersonationLevel=impersonate}!\\.\root\cimv2")
'Connect to CIMV2 Namespace
Dim objList = objWMIcimv2.ExecQuery _
("select * from win32_process where name='EXCEL.EXE'") 'Find the
process to terminate
Dim objProcess As Object
Dim intRslt As Int16
For Each objProcess In objList
intRslt = objProcess.Terminate 'Terminates a process and all of
its threads.
Next
Now while this removes the excel files in memory, it removes ALL of them.
As this is meant to work with a web site and more then 1 (but maybe 5 total
concurrent users) person may be using the site, this isn't a viable
solution.
The files are opened like this:
(there is a reference to excel in the DLL project)
Dim xlAppl As Excel.Application
Dim xlSheet As Excel.Worksheet
xlAppl = New Excel.Application
xlAppl.Workbooks.Open(strFileName)
xlAppl.Workbooks(1).Activate()
strSheetName = "Input Sheet"
xlSheet = xlAppl.Sheets(strSheetName)
*** code fills in some values
xlAppl.Workbooks(1).Save()
xlAppl.Quit()
xlAppl = Nothing
Some files are left open using this code, which lead me to find something
that allows me to clean up after this.
Is it possible to target process that have certain file names open and shut
them down, in windows server 2003?
Maybe it would just be better for the web app to fill a queue of excel files
that need processing .. and have a desktop application running under a
username?
(though they really require feed back of the changes the new calculations
made .. which are saved to a database)
Any ideas about getting excel to actually close when its asked to?
Thanks Tag: Glamour models & Fasion designing New look watch my profile Tag: 415174
Loading Images Into a Right Click Menu
To anyone that can help:
I would like to images into a right click menu I have for an Access
application. So far, I load the menu, and my thought is using the
image list control, I grab the picture handle, compress it and load it
into the menu, but it is not working? Does anyone have ideas or
suggestions?
CODE:
******
DoCmd.OpenForm sImageForm, acNormal, , , , acHidden 'Load image
form
Set frmImage = Forms(sImageForm).Form: Set imgList =
frmImage.frmImageList.Object
hMenuImg = imgList.ListImages.Item(mMenu.sImage(iMenuIndex)).Picture
iCopyDC = CreateCompatibleDC(0)
iRet = StretchBlt(iCopyDC, 0, 0, 12, 12, hMenuImg, 0, 0, 22, 22,
SRCCOPY)
Call SetMenuItemBitmaps(iCopyDC, 1, MF_BYPOSITION, hMenuImg, hMenuImg)
******
Thanks,
Jamie Tag: Glamour models & Fasion designing New look watch my profile Tag: 415166
howto get the name of the season ?
hello,
anyone have a snippet to get the name of the season for a date????
something like
GetSeason(today)
and it return summer Tag: Glamour models & Fasion designing New look watch my profile Tag: 415163
ContextMenuStrip Bug??
VB.NET 2005 SP1... I have two drop down items on a contextmenustip:
DropDown1 (Enabled)
DropDown2 (Disabled)
If i hover over dropdown1 to see the items, and then hover over
dropdown2 it will show the items and fire the dropdown event which can
crash the app as I expect the dropdown event only to fire if the menu
item is enabled.
If I don't hover over DropDown1 first it behaves as expected. Is this
a bug, or should I be doing something different? Tag: Glamour models & Fasion designing New look watch my profile Tag: 415152
Help re RegEx
Hi
I'm new to Regular Expressions so ...
I trying to work out regular expressions to parse the following
(a + (b + c))
I really want to replace it with
Replacement 1: (a + <Exp0>)
Replacement 2: <Exp1>
I'm okay using the MatchEvaluator delegate so I can keep track of what
expr, but I'm struggling to work out how to express the pattern. So far
I've got "\(*\)*".
I thought that \( would indicate an opening bracket followed by anything
followed by a closing bracket. But I'm obviously wrong.
Thx IA
Simon Tag: Glamour models & Fasion designing New look watch my profile Tag: 415150
How to do I register my project?
Hello,
I am attempting to create a plugin. In order to implement it into the
software it needs to be registered. I do not believe that the .dll
file is registering when I build my solution. It should register
automatically when I build it (right?). Furthermore, I tried to
manually register it using the regsvr32 and this error window
appeared:
=93VBNET.First.dll was loaded, but the DllRegisterServer entry point was
not found.
This file can not be registered.=94
I believe that I need to include some code in my class in order for it
to register. I found out that the =93System.Runtime.InteropServices=94
namespace contains classes that allow me to give my class an explicit
GUID and ProgId. I did that but it is still not working correctly. Do
you know what I=92m missing or what I need to do? Thanks.
-Dave Tag: Glamour models & Fasion designing New look watch my profile Tag: 415149
Memory usage of another application.
Hi, does anyone how how I might check on the memory usage of a running
application? I want to do this externally to the 'actual' application that
I've written, so a small stand alone app that can keep a check on another?
Basically the application in question hangs after a week or so of continual
use and I need to prove if it my application hogging memory or something
else.
Any ideas?
Cheers. Tag: Glamour models & Fasion designing New look watch my profile Tag: 415146
How can set cap lock ?
This is a multi-part message in MIME format.
------=_NextPart_000_3B7C_01C8E90C.747408E0
Content-Type: text/plain;
charset="big5"
Content-Transfer-Encoding: quoted-printable
User request that ' when input the companyname in the textbox' , default =
the cap lock on.
How can I do that ?
thanks=20
------=_NextPart_000_3B7C_01C8E90C.747408E0
Content-Type: text/html;
charset="big5"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; charset=3Dbig5">
<META content=3D"MSHTML 6.00.2900.3354" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3D"Palatino Linotype" size=3D2>User request that ' when =
input the=20
companyname in the textbox' , default the cap lock on.</FONT></DIV>
<DIV><FONT face=3D"Palatino Linotype" size=3D2>How can I do that =
?</FONT></DIV>
<DIV><FONT face=3D"Palatino Linotype" size=3D2></FONT> </DIV>
<DIV><FONT face=3D"Palatino Linotype" size=3D2>thanks </FONT></DIV>
<DIV> </DIV></BODY></HTML>
------=_NextPart_000_3B7C_01C8E90C.747408E0-- Tag: Glamour models & Fasion designing New look watch my profile Tag: 415139
double
Is there an explication why it's executed the then path?
Dim a As Double = 10
Dim b As Double = 3
Dim c As Double = 3
Dim x As Double
Dim y As Double = 10
x = a / b
x *= c
If x = y Then
Debug.Print("x")
End If
Peter Tag: Glamour models & Fasion designing New look watch my profile Tag: 415135
stackoverflow on EndCurrentEdit
Dear Group,
I have a small application with two buttons and three textboxes
with databinding.
One of the textboxes has a =A1=A7textchanged=A1=A8 event and other 2 textbo=
xes
are attached with the same events. If I type into any textboxes then
btnSave and btnExit will enable/disable respectively. The problem is
that in some instances =A1=A5text changed event=A1=A8 hits endless loop and
causes an stackoverflow message. Is there a way to solve this
problem? I=A1=A6d appreciate any help. Thanks
Private sub Form1_Activated (..)
=A1K
Text1.Databindings.Add(New Binding(=A1=A7Text=A1=A8, ds.tables(0), =A1=
=A7City=A1=A8)
Text2.Databindings.Add(New Binding(=A1=A7Text=A1=A8, ds.tables(0), =A1=
=A7State=A1=A8)
Text3.Databindings.Add(New Binding(=A1=A7Text=A1=A8, ds.tables(0), =A1=
=A7Zip=A1=A8)
Addhander Text1.TexChnaged, AddressOf Form1_TextChanged
Addhander Text2.TexChnaged, AddressOf Form1_TextChanged
Addhander Text3.TexChnaged, AddressOf Form1_TextChanged
End sub
Private sub Form1_TextChanged(..) Handles textbox1_TextChanged
Me.bindingCntact(ds).EndCurrentEdit() =84=B2 causes endless lop
If ds.HasChanged =3D True then
btnSave.Enabled =3D True =A1=A5 enable save button
btnExit.Enabled =3D False =A1=A5 disable exit button
Endif
End sub Tag: Glamour models & Fasion designing New look watch my profile Tag: 415132
Are event arguments needed for button control
When you drop a button on a form, a Click event is created by the designer.
Within the Click event certain event parameters are defined:
Private Sub btnInsert_ButtonPressed(ByVal sender As System.Object, ByVal e
As System.EventArgs)
What harm or limitations would ensue if (ByVal sender As System.Object,
ByVal e As System.EventArgs) were changed to ().
Thanks,
Dean S Tag: Glamour models & Fasion designing New look watch my profile Tag: 415123
Issues w/ using a DataTable with a TableAdapter's Update method
I created a TableAdapter (TA) in my VB 2005 project. I tested it to ensure
that its CRUD functionality is what I expected it to be.
I'm using the TA and its strongly-typed DataTable (DT) in my Wizard.
Initially, I populate the DT using the TA.GetData.
I pass the DT to a ASCX-styled control that 'pivots' (turns years into
columns) the data into a new DataTable (DT2), then binds it (DT2) to a
GridView form. I save the original DT in the viewstate. So far so good.
When I want to save the data, I compare the values in GridView to the DT
that has been retrieve from the viewstate. The DT's rows are modified
accordingly. So far so good.
However, when I attempt to use the TA's Update method, passing the DT, I get
an error about a missing parameter. I'm assuming that the parameter's value
is supplied by the field that has a matching name. I've noticed that each
row has a value in this field.
What am I missing here?
Another oddity, perhaps. If don't make an changes in the pivot grid, there
won't be any changes to the DT. Why is it that the each row's rowstate is
'modified'? Could this be related my the Update issue?
Thanks in advance.
Craig Buchanan Tag: Glamour models & Fasion designing New look watch my profile Tag: 415116
Architecture question
When filling class data from a relational database, what are some good
ways to minimize the data load to only the data you need? I will
provide the following example to illustrate (simplified):
Class Ingredient
Public Property Ingredents As List(Of Ingredient)
Class Recipe
Public Property RecipeName as String
Public Property Ingredients As List(Of Ingredient)
Class MenuItem
Public Property MenuItemName as String
Public Property MenuRecipe As Recipe
In one form, I might be trying to look at a list of all the recipes in
our database so I would only pull the RecipeName out of the database
since recursively gathering the ingredient list would slow it down
quite a bit. In another form I may need to gather all the recipes and
their main ingredients (without the recursive call to get the
Ingredient.Ingredients() ), at other times I want all of the
information.
How can I design my classes, or data classes in such a way that I
achieve this outcome without adding a ton of overloaded methods and
calls to my database?
One of my thoughts was to place the database call in the property of
the classes as such:
Private _ingredientList as List(Of Ingredient)
Public Property IngredientList As List(Of Ingredient)
Get
If _ingredientList Is Nothing
_ingredientList = GetIngredientsFromDatabase()
End If
Return _ingredientList
End Get
....
The problem I have so far with this method is that it makes
multithread applications a little more complex than they need to be,
and it forces many calls to the database over and over again.
A better method for loading all the recipes and their ingredients
would be to collect all of the recipes and ingredients from the
database, then loop through the data and "fill" the classes, that
would reduce the database calls from a potential of hundreds down to
2, certainly preferable.
A mix of the two options seems to be a way to go, but I wanted to prod
the minds of the good folks on the usenet for ideas (as a solo
developer, i can only bounce ideas off the wall, which is fun, but
gets me nowhere most of the time)
Thanks in advance,
Charlie Tag: Glamour models & Fasion designing New look watch my profile Tag: 415114
generique pharmacie canada comprimes de xenical canada bon marche acheter xenical canada Acheter xenical en ligne sur Webacheterenligne xenical belgique generique bon marche
generique pharmacie canada comprimes de xenical canada bon marche acheter xenical canada Acheter xenical en ligne sur Webacheterenligne xenical belgique generique bon marche
+++ PERTE DE POIDS +++ PERTE DE POIDS +++ PERTE DE POIDS +++
+
ACHETER XENICAL BON MARCHE (ALL CARD ACCEPTED)
http://jhku.net/ACHETER-XENICAL-BON-MARCHE/
+
+
+
ACHETER ACOMPLIA BON MARCHE (ALL CARD ACCEPTED)
http://jhku.net/ACHETER-ACOMPLIA-BON-MARCHE/
+
+
+
ACHETER MERIDIA BON MARCHE (ALL CARD ACCEPTED)
http://jhku.net/ACHETER-MERIDIA-BON-MARCHE/
+
+
+
ACHETER PHENTERMINE BON MARCHE (Western Union, Diners, AMEX, VISA)
http://jhku.net/ACHETER-PHENTERMINEA-BON-MARCHE/
http://ibm-news.for-um.de/member.php?u=2
xenical canada soft sans prescription
acheter du xenical canada cinq
citrate de Orlistat soft en France
xenical suisse sur internet
generique pharmacie canada
Achat xenical canada Simple
xenical par email
acquerir xenical us usa soft
xenical canada le plus bon marche
acheter du xenical
acheter du xenical cinq
femme en termes de xenical us usa
commander xenical canada soft
acquerir xenical en France soft
generique medicaments us usa
Achat xenical canada france
Achat xenical canada Pro
commander xenical canada en ligne aucune prescription
Achat xenical Pro
xenical canada soft bon marche
xenical sur internet
citrate de Orlistat bon marche us usa
xenical canada sans ordonnance
Acheter xenical en ligne sur internet
generique pharmacie us usa
generique pharmacie en France
dans commande xenical us usa corpus
pharmacie en ligne en France
xenical Generique Inde
xenical belgique par email
xenical belgique soft en ligne
comprimes de xenical us usa
acheter xenical canada generique
comprimes de xenical us usa
commander xenical canada en ligne
acheter xenical canada concernées par cette Tag: Glamour models & Fasion designing New look watch my profile Tag: 415112
Where does the "Extreme database" come from?
Where does the "Extreme database" come from?
During a solution conversion, VS told me it needed to install the "Crystal
Reports" so I inserted the disk and during the installation or conversion I
got a message that implied that database was missing.
How can I install that database?
Thanks Tag: Glamour models & Fasion designing New look watch my profile Tag: 415111
Program Startup
During my program startup I need to check for a couple of things.
1. I need to check for network availability
2. I need to check for database connectivity
3. I need to check for access to the server via a webservice
I have written the code to do all of these things. Now I want to put them
into a startup form. I want to load my main form, but from the main form I
want to call a splash screen with an animation on it that will cycle through
all the above events. This will let the user know there is action going on.
Also, if the network or database connection fails, I want to prevent them
from using the program or store the files locally. If the server cannot be
accessed, I will write the data to the database then process later. Again
the code for these actions are done. What I need is a really good way of
showing a splash screen, update a label on the splash screen while checking
for these items, then close the splash screen.
I can load the splash screen as follows
Dim mySplash as new splashScreen
mySplash.Show
This will show the screen, but I need suggestions to update the label on the
screen while checking for the items above. Anyone have a good idea or can
point me to an article on a good way to use a splash screen?
Thanks.
John Tag: Glamour models & Fasion designing New look watch my profile Tag: 415107
Reducing Quicktime resources in VB.NET app
Hi all:
I understand this is a rather vague question at this point, I'm not sure how
to narrow it down at the moment....
I'm developing an app where I am launching multiple QT windows (using the QT
component). In watching the system resources, as one might expect, each
instatiation uses more and more memory. It looks like it's fairly easy use
up 300-400MB with the launch of 6-8 windows.
A few questions.
1. If I 400MB memory resources is the upper end I'll use (by limiting the
number of windows instatiated) would that be considered too much for a 1-2
y.o computer with 1GB of RAM?
2. Anyone have any ideas on how I might launch a QT video, have it play
and still release some memory.
TIA for any help.
Norm Tag: Glamour models & Fasion designing New look watch my profile Tag: 415104
Accessing DLL in Browser?
Hello,
I need to access a DLL (written by VC6) in browser.
Amd I know it is possible by using a ActiveX DLL Wrapper.
My questions are:
1) If I create an ActiveX DLL Wrapper by VB, will there be any problem?
since the DLL is written by VC6.
2) Which dev kits do I need to create such wrapper? VB6?
I am new to this activex wrapper thing, is there any good website for a
quick tutorial?
Thanks.
Regards,
john Tag: Glamour models & Fasion designing New look watch my profile Tag: 415103
how to take out automatically checking out file from SourceSafe in VS
Hi all,
I am using VS 2005 and VSS 6.0. I found sometimes when I open the
project in 2005, it automatically checked out some files from VSS and
the sizes of some controls were changed. I want to turn off this
option and want to set manually check out files from VSS. How to do
it?
Thanks a lot for the help! Tag: Glamour models & Fasion designing New look watch my profile Tag: 415102
KeyUp event captures msgbox response
I'm writing a data entry application where many fields are validated and
committed through KeyUp capturing a Return keycode. My problem is that if a
message box pops up and the user presses the Enter key to respond, that
keystroke is captured by the form KeyUp event.
An example is the user changing a field value and a message box displays
warning that account codes must be changed if the entered value is committed.
The user presses the Return key to respond OK and the form previews the
keystroke and commits the change.
Do I need to use the form AcceptButton property and change that for each
field?
--
DMNichols Tag: Glamour models & Fasion designing New look watch my profile Tag: 415098
export datagridview to text file and import text file to sql server
Hi!
I am trying to export only the visible columns from a datagridview in
my windows form in VB 2008.
Should't it be no comma after the first row where the headers are?
Also should there be a comma at the last row?
When I try to insert into SQL Server in a table on the fly using this
code:
Dim strCreate As String = "IF EXISTS(SELECT name FROM sysobjects " & _
"WHERE name = N'temp_test_spam' AND type = 'U')" & _
"DROP TABLE temp_test_spam;" & _
"SELECT * INTO temp_test_spam FROM
OPENROWSET('MSDASQL','Driver={Microsoft Text Driver (*.txt;
*.csv)};DefaultDir=C:\test_imports\;','select * from GridExport.txt')"
Dim conDatabase As SqlConnection = New SqlConnection("Network
Library=DBMSSOCN;Data Source=dr-ny-
sql003;Database='Spam_BB_Report';Integrated Security=yes;")
Dim cmdDatabase As SqlCommand = New SqlCommand(strCreate, conDatabase)
conDatabase.Open()
cmdDatabase.ExecuteNonQuery()
conDatabase.Close()
I get the following error:
System.Data.SqlClient.SqlException was unhandled
Class=16
ErrorCode=-2146232060
LineNumber=1
Message="Cannot initialize the data source object of OLE DB provider
"MSDASQL" for linked server "(null)". OLE DB provider "MSDASQL" for
linked server "(null)" returned message "[Microsoft][ODBC Text Driver]
'(unknown)' is not a valid path. Make sure that the path name is
spelled correctly and that you are connected to the server on which
the file resides."."
Number=7303
Procedure=""
Server="dr-ny-sql003"
Source=".Net SqlClient Data Provider"
State=1
StackTrace:
at System.Data.SqlClient.SqlConnection.OnError(SqlException exception,
Boolean breakConnection) at
System.Data.SqlClient.SqlInternalConnection.OnError(SqlException
exception, Boolean breakConnection) at
System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStat
eObject stateObj) at System.Data.SqlClient.TdsParser.Run(RunBehavior
runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream,
BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject
stateObj) at
System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String
methodName, Boolean async) at
System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult
result, String methodName, Boolean sendToPipe) at
System.Data.SqlClient.SqlCommand.ExecuteNonQuery() at
search_engine.Form1.button1_Click(Object sender, EventArgs e) in C:
\Search Engine\Form1.vb:line 655 at
System.Windows.Forms.Control.OnClick(EventArgs e) at
System.Windows.Forms.Button.OnClick(EventArgs e) at
System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent) at
System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons
button, Int32 clicks) at System.Windows.Forms.Control.WndProc(Message&
m) at System.Windows.Forms.ButtonBase.WndProc(Message& m) at
System.Windows.Forms.Button.WndProc(Message& m) at
System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message&
m) at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr
hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) at
System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg) at
System.Windows.Forms.Application.ComponentManager.System.Windows.Forms .UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32
dwComponentID, Int32 reason, Int32 pvLoopData) at
System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int
32 reason, ApplicationContext context) at
System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32
reason, ApplicationContext context) at
System.Windows.Forms.Application.Run(ApplicationContext context) at
Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.
OnRun() at
Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.
DoApplicationModel() at
Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.
Run(String[] commandLine) at
search_engine.My.MyApplication.Main(String[] Args) in 17d14f5c-
a337-4978-8281-53493378c1071.vb:line 81 at
System.AppDomain._nExecuteAssembly(Assembly assembly, String[] args)
at System.AppDomain.nExecuteAssembly(Assembly assembly, String[] args)
at System.Runtime.Hosting.ManifestRunner.Run(Boolean checkAptModel) at
System.Runtime.Hosting.ManifestRunner.ExecuteAsAssembly() at
System.Runtime.Hosting.ApplicationActivator.CreateInstance(ActivationC
ontext activationContext, String[] activationCustomData) at
System.Runtime.Hosting.ApplicationActivator.CreateInstance(ActivationC
ontext activationContext) at
Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssemblyDebugIn
Zone() at System.Threading.ThreadHelper.ThreadStart_Context(Object
state) at System.Threading.ExecutionContext.Run(ExecutionContext
executionContext, ContextCallback callback, Object state) at
System.Threading.ThreadHelper.ThreadStart()
InnerException:
Thanks in advanced for your help!!!
Tammy
I am attaching the code that I am using to achieve this:
Public Function ImportSQL(ByVal dgv As DataGridView, ByVal FN As
String) As Integer
Dim writer As StreamWriter = New StreamWriter("C:\test_imports
\GridExport.txt")
If (DataGridView1.Rows.Count > 0) Then
For Each col As DataGridViewColumn In DataGridView1.Columns
If col.Visible = True Then
If (col.Index = (DataGridView1.Columns.Count - 1)) Then
writer.WriteLine(col.HeaderText)
Else
writer.Write(String.Concat(col.HeaderText, ","))
End If
End If
Next
For Each row As DataGridViewRow In DataGridView1.Rows
'If Not omitIndices.Contains(row.Index) Then
For Each cell As DataGridViewCell In row.Cells
If DataGridView1.Columns.Item(cell.OwningColumn.Index).Visible = True
Then
If (cell.OwningColumn.Index = (DataGridView1.Columns.Count - 1)) Then
If (Not (cell.Value) Is Nothing) Then
writer.WriteLine(cell.Value.ToString)
Else
writer.WriteLine("")
End If
ElseIf (Not (cell.Value) Is Nothing) Then
writer.Write(String.Concat(cell.Value.ToString, ","))
Else
writer.Write(String.Concat("", ","))
End If
End If
Next
'End If
Next
End If
writer.Close()
End Function Tag: Glamour models & Fasion designing New look watch my profile Tag: 415093
WebProxy.GetDefaultProxy
According to the help this method is obsolete, but there is no hint as to
what to use now instead.
It does seem to work for me, although I get a warning error from the
compiler.
The warning message contains a link to the microsoft website, but this link
just takes you to the .Net framework home page:
http://go.microsoft.com/fwlink/?linkid=14202
Can anyone provide the correct link and/or please explain what should now be
used instead of GetDefaultProxy.
TIA
Phil. Tag: Glamour models & Fasion designing New look watch my profile Tag: 415089
Application.ProductVersion
Hallo,
- Woher wird diese Eigenschaft ermittelt?
- Wenn ich eine Solution mit mehreren Projekten habe, müßte es dann der Eintrag
in der Datei AssemblyInfo.vb sein, der da z.B. lautet
<Assembly: AssemblyVersion("2.9.39.8")> ?
Danke
Joachim Tag: Glamour models & Fasion designing New look watch my profile Tag: 415081
Manually painting a ToolStripSplitButton
Hi all,
I'm handling all the painting for a ToolStrip in my app due to some
specialised requirements. Most of it has been relatively easy with a bit of
trial error, but I've hit a stumbling block when trying to draw a
ToolStripSplitButton.
I'm overriding the OnRenderSplitButtonBackground sub, and I *do* call
MyBase.OnRenderSplitButtonBackground(e), but I'm not getting the dropdown
chevron at all.
My ToolStripDropDownButtons paint the chevron themselves with no fuss, and
I'd really like to maintain consistency by keeping all the dropdown chevrons
identical.
I understand if I have to manually add the chevron myself, but is there a
predefined method for doing this? I checked through all of the ControlPaint
class and the SystemIcons class, but neither one appears to contain the
chevron for a ToolStripSplitButton's dropdown.
TIA,
~Alex Tag: Glamour models & Fasion designing New look watch my profile Tag: 415078