|
the problem is >>
you add a picture to a form .. then you indicate the image of it .. the solution add it to Resourses folder . then you del that image from the folder with/without by mistake .. then the programm has error ..
i want to know how to repair that problem withou re add that image to the folder
i hope it's clear
jooooo
|
|
|
|
|
This depends on the version of Visual Studio you're using. But, for the straight forward answer, you have to put the file back in the Resources folder if you want this fixed.
|
|
|
|
|
Hi ..
I designed an applicatoin with two language interface .
then when i changed Language propery . then it's ok .. but when make any changes on the form the VS program hang up ..
but on other solutions it's ok ..
it's only on that solution .
i delete Bin/Debug folder contents and and alos Obj/Debug
but it's still >>>
jooooo
|
|
|
|
|
How do I control a messageboxes results? I know of the msgboxresult.yes/no/ok etc. But I am missing something because when I use this no matter what the result is it still runs the same code when it shouldnt. If someone could please give me a quick example on how to use messageboxes and have different things happen depending on the msgboxresult I would really appreciate it. Thank you...
|
|
|
|
|
Are you using Msgboxresult by itself or comparing what msgbox is returning?
If MsgBox("place question here", MsgBoxStyle.OkCancel) = MsgBoxResult.Cancel Then
End If
|
|
|
|
|
you can try this
If MessageBox.Show("Do you want Exit?", "titleBar", MessageBoxButtons.YesNo, MessageBoxIcon.Question) = DialogResult.Yes Then
'quiting the Application
Else
'Dont Quit
End If
Vuyiswa Maseko
|
|
|
|
|
Dim msgResult As MsgBoxResult = MsgBox("Do you want to SAVE this record?", MsgBoxStyle.YesNoCancel, "DATA HAS CHANGED")
Select Case msgResult
Case MsgBoxResult.Yes
' Save Data
Case MsgBoxResult.No
' Clear the form
Case MsgBoxResult.Cancel
' Do nothing
End Select
Tom Garth
Developer
R. L. Nelson and Associates, Inc., Virginia
|
|
|
|
|
Is there a way to add a radio button as a bound column to a datagrid? I can
not find any info on how to do that
If you have a sample of the code that does it please share
Thank you!!! =D
jyn
|
|
|
|
|
Hi,
do you have any idea how can I take the value of a key with hashtable?
thanks.
|
|
|
|
|
You can iterate over the Keys collection if you want to
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
|
Is this possible to define listview column type for Date,String and Integer Values?
Thanks In advance
Ejaz
|
|
|
|
|
I have a solution which contains 2 projects VB1 project and C1 c# project.
I have a Class called Class1 in the C1 project which i would like to utilise in VB1.
can someone point me in the right direction..not something i have done before.
TIA
|
|
|
|
|
Although I have no experience with this kind of scenario, nor with C, I have seen similar questions on this forum, and the general gist of the answers was always: compile the class as a dll, and reference it from your app.
For what it's worth...
Johan
My advice is free, and you may get what you paid for.
|
|
|
|
|
Hi
All
i write one procedure whichdisplay the data
last statment of that proc is
one of the field service _provded the user is filling the long itenerary data.
for ex.....
23 Oct | Arrive Bangalore
Arrive and transfer to your hotel. This afternoon you visit the Lal Baugh Botanical Gardens, the 16th century Bull Temple and drive past the Vidhan Saudha. Overnight at hotel.
24 Oct | Bangalore - Mysore
Transfer by road to Mysore (120 kms / 3 hrs) en-route you visit the Shravanbelagola, home to the massive 18m monolithic Gomateshwara (or Bahubali) statue. Overnight at hotel.
25 Oct | Mysore
This morning visit the Mysore Palace known for its veritable treasure trove of exquisite carvings and works of art from world over, the Chamundi Hills for a panoramic view of Mysore city and the Rajendra Art Gallery which houses some remarkable selections of paintings by Raja Ravi Verma. The evening is at leisure for shopping some of Mysore's famous silks & fabrics. Overnight at hotel.
26 Oct | Mysore - Ooty
Transfer by road to Ooty (158 kms / 4 hrs) 'the Queen of Hill stations'. The rest of the day is at leisure to explore this picturesque hill station. Overnight at hotel.
27 Oct | Ooty
This morning you visit the Doddabetta Peak, the highest peak in the Nilgiri mountains, the beautifully landscaped Botanical Gardens and the scenic Ooty lake where you may enjoy an optional boat ride. Overnight at hotel.
28 Oct | Depart Banglore
Transfer to Bangalore airport ( 290 kms/ 7 hrs).
Now my problem is that when that procedures shows the
o/p it is not proper means suppose itenerary for 23oct finishes then immediately it stats with the next date 24 oct itenarary
i am looking for the something like replace function
Pl. Suggest
proc is given serv_provided is creating problem for me.
Thanks & regards
<br />
CREATE proc showtrandetailreport<br />
(<br />
@conf_no varchar(20)<br />
<br />
)<br />
as<br />
set nocount on<br />
declare @tr_detail table(id int identity(1,1),tr_todate varchar(50), tr_fromdate varchar(50),entrycity varchar(100),exitcity varchar(100),ser varchar(100),sicpvt varchar(30),serv_Provided varchar(5000),remark varchar(2000),transfer_type varchar(2000))<br />
<br />
insert into @tr_detail(tr_fromdate,tr_todate,entrycity,exitcity,ser,sicpvt,serv_Provided,remark,transfer_type )(select convert(varchar(15),trn_fromdate,106),convert(varchar(15),trn_todate,106),entrycity,exitcity,service,sicpvt,serv_Provided,remark ,transfer_type from confirm_transfer_detail where voucher_id = @conf_no)<br />
<br />
select transfer_type as 'TRANSFER TYPE',entrycity as 'ENTRYCITY',exitcity as 'EXITCITY', serv_Provided as 'SERVICES PROVIDED', remark as 'REMARK' ,tr_fromdate as 'ARRIVAL',tr_todate as 'DEPARTURE' from @tr_detail order by id<br />
<br />
GO<br />
<br />
<br />
|
|
|
|
|
Hi,
I have a small project to try and keep our ADSL lines up and running 24/7. At the moment we have firewalls at each of our stores (5 of them) and on at HO. All contected by VPN.
Our problem is now and again the ADSL line seems to drop and the firewalls don't seem to come back up unless we reboot them.
So i'm planing to write a application in VB.NET that will install on the servers and ping a IP address and then when it fails x times it will reboot the firewall. I did try this using a telnet client put got a lot of socket errors.
So i thought what about SSH, so that he plan but i need some adivce on components for SSH. I've found a few that i could pay for but was hoping to find a free one. Anyone got any recommendations?
|
|
|
|
|
HI,
I encrypted a file and now I want to decrypt it but not in another file but in a stringbuilder.
Thanks
|
|
|
|
|
You would decrypt it in memory, surely ? Why do you need to use a stringbuilder ?
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
hi,thanks for your answer.
I need the information to put it in a stringbuilder.
thanks again
|
|
|
|
|
You would need to decrypt it first, then pass the data to the stringbuider.
-- Always write code as if the maintenance programmer were an axe murderer who knows where you live.
Upcoming FREE developer events:
* Glasgow: Agile in the Enterprise Vs. ISVs, Mock Objects, SQL Server CLR Integration, Reporting Services, db4o ...
* Reading: SQL Bits
My website
|
|
|
|
|
OK, so you need a string. I'd imagine you'd get a byte array back from a decryption method ? You would use an Encoding class to turn that into a string, depending on if it's Unicode, ASCII, or something else.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
thanks guys.
I resolved the problem.
Thanks again.
|
|
|
|
|
cmd.CommandText = "update ceasrjuice set fatname = " & x & " and reglz set fatrname = " & x & " where fatname LIKE '%" & TextBox1.Text & "%' "
how can i update two tables with on word according to this condition
plz it's urgent
|
|
|
|
|
It's always urgent, isn't it ?
Your strings are not in quotes, only the LIKE statement is. I assume x is a string, and I assume you know that this code makes your database completely insecure, and easily destroyed by a malicious end user. Look up SQL injection attacks on this site.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Please explain your problem in Detail, you mean to say you want to Update two different table from one command, I think it is not possbile from one line, you have to do it one by one,
Or If I mis-understood your problem, then please explain clearly.
Bhaskar Shetty
|
|
|
|