|
|
|
OK my friend that's why I said sorry before putting the question, for that saying me to get out is big, I said sorry and I didn't know any of the Git forums and I found Git has difficult learning curve.
Thanks,
Abdul Aleem
"There is already enough hatred in the world lets spread love, compassion and affection."
|
|
|
|
|
Hi,
I am sorry if this is little of the topic, I apologize for it.
I am remoting into my Server to do some stuff, but it needs the System to be logged in some specific user, but when I am trying to remote into my Server its always logging in me with my Lan Id, but I want to change the Logged in User to the account that I wanted, but I am not finding the option "Log in as different User" in remote desktop, if I log off my machine and log in with that account I may lose stuff that I am working, is there any way I can select log in as different user option on the Remote Desktop instead of me Logging off my machine and logging in as different account.
Any help a link or suggestion would be very helpful, thanks in advance.
Thanks,
Abdul Aleem
"There is already enough hatred in the world lets spread love, compassion and affection."
|
|
|
|
|
This has absolutely NOTHING to do with the .NET Framework.
Having said that, open Remote Desktop. In the bottom left corner of the window to specify the machine you want to connect to, there is a drop down that says "Show Options". The rest should be obvious.
|
|
|
|
|
I do agree, that's why I asked for apologies before my friend.
Thanks,
Abdul Aleem
"There is already enough hatred in the world lets spread love, compassion and affection."
|
|
|
|
|
Hi,
Please suggest books for preparing for the Brainbench .net framework 4.0 test
[Brainbench .net framework 4.0]
regards,
NJ
=====================================================
The grass is always greener on the other side of the fence
|
|
|
|
|
Why not go to www.google.com and look for one yourself?
|
|
|
|
|
The "Test Outline" is there; what more do you want?
Someone to take the test for you?
|
|
|
|
|
test outline is there.
But my question is about preparation for specific to this brainbench test.
overall .NET 4.0 is vast
=====================================================
The grass is always greener on the other side of the fence
|
|
|
|
|
Well, you could have started with the "C# Test".
But, nooooooooo ... you had to tackle the whole framework.
|
|
|
|
|
Hello
Just check out this
<a href="https://www.brainbench.com/xml/bb/common/testcenter/alltests.xml"></a>[<a href="https://www.brainbench.com/xml/bb/common/testcenter/alltests.xml" target="_blank" title="New Window">^</a>]
Thank You
Regards
Pooja
|
|
|
|
|
That links are for taking the actual test after preparation
=====================================================
The grass is always greener on the other side of the fence
|
|
|
|
|
Well, it was a long time ago, but I cut my teeth in .NET with Jeffrey Richter's book (CLR via C# or whatever it is these days). Not long after that I did the .NET brainbench and scored so well that someone in a hedge fund noticed and called me out the blue to work for them, which I did. Brilliant book, so that's what I recommend.
The tests have no doubt moved on, but as I recall .NET was pretty easy in comparison to the C# one.
Regards,
Rob Philpott.
|
|
|
|
|
I add some items into the database in other to load in a combobox then trying to add items to the second combobox in other to act as a sub to the first combobox.. i found out that i would need to select an item from the first combobox before i can add items to the second combobox.. for instance i have "state" as my first combobox and in each state, there are local governments and i would have to select a particular state in other to enter the corresponding Local governments. as a result of this, i will be having more than one entry on my state column and when i try to use it from the user's end, when i select state, it will contain more than one entry for each state... is there a way i can reduce redundancy in the combobox.. please i need help with this
|
|
|
|
|
You can only select the second set of items based on the information provided by the first. If you need to reduce the number of items for a single state then you will have to add some other criteria to your application. This is a logic issue rather than a coding one.
|
|
|
|
|
Can u make DICOM Image Viewer by vb.net
thanku
|
|
|
|
|
Yes you can. You'll want to be aware that rapidly displaying the image is going to require you to use a version of the pointer, suitable for VB.NET. You might find this[^] useful.
This space for rent
|
|
|
|
|
Ahmed Mahmoud wrote: Can u make DICOM Image Viewer by vb.net No, this is not a freelancing website and neither do we projects of others. You can hire a freelancer from any such site to do that for you.
The sh*t I complain about
It's like there ain't a cloud in the sky and it's raining out - Eminem
~! Firewall !~
|
|
|
|
|
Hello All ...
Iam Getting An Error With try to excecute the stored procedure .
I have Have Sql database , the stored procedure like so :
<pre lang="SQL"> USE [MPRS]
GO
/****** Object: StoredProcedure [dbo].[Search_Licenses_By_Number] Script Date: 26-Nov-16 8:06:52 AM ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
ALTER PROCEDURE [dbo].[Search_Licenses_By_Number]
@LicenseNumber int
as
begin
Select LicenseNumber,CentralRegistryNumber, LicenseNameArabic, LicenseNameEnglish, LegalForm, ExpiryDate, LicenseOwner, LicenseOwnerNationality, LicenseType, LicenseActivities, LicenseAddress, Phone, Fax, Email, LicenseStatus from LicensesTbl
Where LicenseNumber = @LicenseNumber
End
In Vb i have Data Layer and code like so :
Friend Function Search_Licenses_By_Number(ByRef cmd As SqlCommand, ByRef dr As SqlDataReader, ByVal LicenseNumber As Integer)
Dim retval As Integer
cmd = New SqlCommand("Search_Licenses_By_Number")
cmd.Parameters.Add("@LicenseNumber", LicenseNumber, SqlDbType.Int)
cmd.Parameters.Add("@CentralRegistryNumber", SqlDbType.Int)
cmd.Parameters.Add("@LicenseNameArabic", SqlDbType.NVarChar)
cmd.Parameters.Add("@LicenseNameEnglish", SqlDbType.NVarChar)
cmd.Parameters.Add("@LegalForm", SqlDbType.NVarChar)
cmd.Parameters.Add("@ExpiryDate", SqlDbType.Date)
cmd.Parameters.Add("@LicenseOwner", SqlDbType.NVarChar)
cmd.Parameters.Add("@LicenseOwnerNationality", SqlDbType.NVarChar)
cmd.Parameters.Add("@LicenseType", SqlDbType.NVarChar)
cmd.Parameters.Add("@LicenseActivities", SqlDbType.NVarChar)
cmd.Parameters.Add("@LicenseAddress", SqlDbType.NVarChar)
cmd.Parameters.Add("@Phone", SqlDbType.NVarChar)
cmd.Parameters.Add("@Fax", SqlDbType.NVarChar)
cmd.Parameters.Add("@Email", SqlDbType.NVarChar)
cmd.Parameters.Add("@LicenseStatus", SqlDbType.NVarChar)
retval = dm.executeReader(cmd, dr)
Return retval
End Function
And Also I have Business Layer and Code Like so :
Public Function Search_Licenses_By_Number(ByVal LicenseNumber As Integer) As Integer
p.Search_Licenses_By_Number(cmd, dr, LicenseNumber)
Return p.Search_Licenses_By_Number(cmd, dr, LicenseNumber)
End Function
i have form contain 14 textboxs and 1 datetime picker and 1 button
what i want to is when press search button it display the recode in textboxs depend on LicenseNumber that entred in textbox1
the button code like so :
Dim retval As Integer = p.Search_Licenses_By_Number(txtLicensesNumber.Text)
txtLicensesNumber.Text = p.Search_Licenses_By_Number("LicenseNumber")
CentralRegistryNumber.Text = p.Search_Licenses_By_Number("CentralRegistryNumber")
txtLicensesNameArabic.Text = p.Search_Licenses_By_Number("LicenseNameArabic")
txtLicensesNameEnglish.Text = p.Search_Licenses_By_Number("LicenseNameEnglish")
LegalForm.Text = p.Search_Licenses_By_Number("LegalForm")
ExpiryDate.Value = p.Search_Licenses_By_Number("ExpiryDate").ToString
LicenseOwner.Text = p.Search_Licenses_By_Number("LicenseOwner")
LicenseOwnerNationality.Text = p.Search_Licenses_By_Number("LicenseOwnerNationality")
txtLicensesType.Text = p.Search_Licenses_By_Number("LicenseType")
LicenseActivities.Text = p.Search_Licenses_By_Number("LicenseActivities")
txtLicensesAddress.Text = p.Search_Licenses_By_Number("LicenseAddress")
LicensePhone.Text = p.Search_Licenses_By_Number("Phone")
LicenseFax.Text = p.Search_Licenses_By_Number("Fax")
LicenseEmail.Text = p.Search_Licenses_By_Number("Email")
LicStatus.Text = p.Search_Licenses_By_Number("LicenseStatus")
The Error Iam Getting is " Procedure Search_Licenses_By_Number has no parameters and arguments were supplied. "
Kind Regards
Salem
|
|
|
|
|
Your stored procedure only has one parameter but you're trying to pass in a lot more. Just pass in the single parameter.
This space for rent
|
|
|
|
|
Do you mean to make the stored proc like so ?
ALTER PROCEDURE [dbo].[Search_Licenses_By_Number]
@LicenseNumber int,
@CentralRegistryNumber int,
@LicenseNameArabic nvarchar(MAX),
@LicenseNameEnglish nvarchar(MAX),
@LegalForm nvarchar(MAX),
@ExpiryDate Date,
@LicenseOwner nvarchar(MAX),
@LicenseOwnerNationality nvarchar(MAX),
@LicenseType nvarchar(50),
@LicenseActivities nvarchar(MAX),
@LicenseAddress nvarchar(MAX),
@Phone nvarchar(20),
@Fax nvarchar(20),
@Email nvarchar(MAX),
@LicenseStatus nvarchar(20)
as
begin
Select LicenseNumber, CentralRegistryNumber, LicenseNameArabic, LicenseNameEnglish, LegalForm, ExpiryDate, LicenseOwner, LicenseOwnerNationality, LicenseType, LicenseActivities, LicenseAddress, Phone, Fax, Email, LicenseStatus from LicensesTbl
Where LicenseNumber = @LicenseNumber
End
|
|
|
|
|
No. Make the calling code only pass in one parameter.
This space for rent
|
|
|
|
|
its allreally calling one parameter
i have this code in data layer
Friend Function Search_Licenses_By_Number(ByRef cmd As SqlCommand, ByRef dr As SqlDataReader, ByVal LicenseNumber As Integer)
Dim retval As Integer
cmd = New SqlCommand("Search_Licenses_By_Number")
cmd.Parameters.AddWithValue("@LicenseNumber", LicenseNumber)
retval = dm.executeReader(cmd, dr)
Return retval
End Function
and this code in Business Layer
Public Function Search_Licenses_By_Number(ByVal LicenseNumber As Integer) As Integer
p.Search_Licenses_By_Number(cmd, dr, LicenseNumber)
Return p.Search_Licenses_By_Number(cmd, dr, LicenseNumber)
End Function
And in form button this code
Dim retval As Integer = p.Search_Licenses_By_Number(txtLicensesNumber.Text)
is it correct ?
|
|
|
|
|
any help ??
|
|
|
|
|