|
Hi folks,
I am using VB.net for my project . I have to implement calendar part using radscheduler but I am struggle with it , in day view of radscheduler always showing 24 slots per day even using group by option and used minutesperrow as 1440(24hrs) but still it showing 2 time slots per day 1st is today and 2nd is next day , I want to show only 1 slot in day view please help me to find a right way, thanks in advance.
|
|
|
|
|
Have you tried their support?
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
|
|
|
|
|
|
That is not relevant. You are using a commercial product, which is supported by said company. Telerik is more likely to know their own buttons than a general forum on software.
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
|
|
|
|
|
I dono where to find it , help me to get it.
|
|
|
|
|
|
Telerik was bought by Progress. Kind of ironic.
|
|
|
|
|
Like rain, on your wedding day?
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
|
|
|
|
|
hi,
i am trying to download data from fingerprint device.
below is the code provided by them in their demo application(vb).
with the code provided by them i can connect to device successfully
but i am not getting correct data.
<pre>Private Sub btnGetGeneralLogData_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnGetGeneralLogData.Click
If bIsConnected = False Then
MsgBox("Please connect the device first", MsgBoxStyle.Exclamation, "Error")
Return
End If
Dim idwTMachineNumber As Integer
Dim idwEnrollNumber As Integer
Dim idwEMachineNumber As Integer
Dim idwVerifyMode As Integer
Dim idwInOutMode As Integer
Dim idwYear As Integer
Dim idwMonth As Integer
Dim idwDay As Integer
Dim idwHour As Integer
Dim idwMinute As Integer
Dim idwErrorCode As Integer
Dim iGLCount = 0
Dim lvItem As New ListViewItem("Items", 0)
Cursor = Cursors.WaitCursor
lvLogs.Items.Clear()
AxCZKEM1.EnableDevice(iMachineNumber, False)
If AxCZKEM1.ReadGeneralLogData(iMachineNumber) Then
While AxCZKEM1.GetGeneralLogData(iMachineNumber, idwTMachineNumber, idwEnrollNumber, idwEMachineNumber, idwVerifyMode, idwInOutMode, idwYear, idwMonth, idwDay, idwHour, idwMinute)
iGLCount += 1
lvItem = lvLogs.Items.Add(iGLCount.ToString())
lvItem.SubItems.Add(idwEnrollNumber.ToString())
lvItem.SubItems.Add(idwVerifyMode.ToString())
lvItem.SubItems.Add(idwInOutMode.ToString())
lvItem.SubItems.Add(idwYear.ToString() & "-" + idwMonth.ToString() & "-" & idwDay.ToString() & " " & idwHour.ToString() & ":" & idwMinute.ToString())
End While
Else
Cursor = Cursors.Default
AxCZKEM1.GetLastError(idwErrorCode)
If idwErrorCode <> 0 Then
MsgBox("Reading data from terminal failed,ErrorCode: " & idwErrorCode, MsgBoxStyle.Exclamation, "Error")
Else
MsgBox("No data from terminal returns!", MsgBoxStyle.Exclamation, "Error")
End If
End If
AxCZKEM1.EnableDevice(iMachineNumber, True)
Cursor = Cursors.Default
End Sub
|
|
|
|
|
You really need to talk to the people who provided the device and the sample program.
|
|
|
|
|
If someone knows how it works, it is the maker's people.
Why don't you ask them ?
Note that you sis not even gave the brand and model.
Patrice
“Everything should be made as simple as possible, but no simpler.” Albert Einstein
|
|
|
|
|
Meax wrote: but i am not getting correct data.
How did you determine that is not correct? Why is it not correct?
|
|
|
|
|
I am developing a mvc app using email confirmation using this line
await UserManager.SendEmailAsync(user.Id, "Confirm your account", "Please confirm your account by clicking <a href=\"" + callbackUrl + "\">here</a>");
is part of
public class UserManager<TUser, TKey> : IDisposable
I want to be able to send an additional parameter and get that parameter back when email is confirmed
any idea?
|
|
|
|
|
Why not append "?secretkey=value" to callbackUrl. Then when they use that link it will be presented to your server. Managing the security of this parameter is a separate exercise, one you'll need to think about.
Software rusts. Simon Stephenson, ca 1994. So does this signature. me, 2012
|
|
|
|
|
This is the program:
dim data as boolean=true
'dim dt as system.data.datarow
if CType(mainformdataset.tables("BO3").rows(0).item("TAXPOINTDT"),system.date)=01.01.1900
Return False
ELSE
Return True
end if
So the error is on the line 3
This is the program:
dim data as boolean=true
'dim dt as system.data.datarow
if CType(mainformdataset.tables("BO3").rows(0).item("TAXPOINTDT"),system.date)=01.01.1900
Return False
ELSE
Return True
end if
So the error is on the line 3 with the line 4
This is a PHC program and is on the web
Ty for your collab!
|
|
|
|
|
You already posted this in QA and got your answer. There is no need to cross post this.
Speed of sound - 1100 ft/sec
Speed of light - 186,000 mi/sec
Speed of stupid - instantaneous.
|
|
|
|
|
Dim cmd As New OleDb.OleDbCommand
Dim conn As New OleDb.OleDbConnection
Dim constr As String
Dim dr As OleDbDataReader
constr = "Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\VB.Net Secondary\SecondaryDb.accdb;Persist Security Info=False"
conn.ConnectionString = constr
conn.open()
cmd = New OleDbCommand("Select * From Studenttbl WHERE Student_ID = @StuID", conn)
cmd.Parameters.AddWithValue("@StuID", txtStudentID.Text)
dr = cmd.ExecuteReader
While dr.Read
MsgBox(dr(1))
txtSurname.Text = dr.Item("LastName")
txtFirstName.Text = dr.Item("FirstName")
End While
dr.Close()
dr.Dispose()
conn.Close()
|
|
|
|
|
And? Did you have a question of some sort?
Do you see any errors displayed on your screen?
What did the debugger show you when you stepped through your code?
What is in "dr" after you execute your query?
What does txtStudentID.Text contain?
Do you have any records in your database that match that ID?
Speed of sound - 1100 ft/sec
Speed of light - 186,000 mi/sec
Speed of stupid - instantaneous.
|
|
|
|
|
My bad, I did not even ask a question, I was tired, have been working for several hours.
- the project does not display any errors, when I stepped through the program, debug shows that all the text boxes are empty. I do have records in the database that matches the ID.
Thanks for your time
|
|
|
|
|
Try actually using the debugger to see if you getting data out of your database and if you are when it disappears. We don't have your code, your files or your data so we can't debug your code for you. It's up to you.
Speed of sound - 1100 ft/sec
Speed of light - 186,000 mi/sec
Speed of stupid - instantaneous.
|
|
|
|
|
Here is my Code
Dim cmd As New OleDb.OleDbCommand
Dim conn As New OleDb.OleDbConnection
Dim constr As String
Dim dr As OleDbDataReader
constr = "Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\VB.Net Secondary\SecondaryDb.accdb;Persist Security Info=False"
'Object To Use As SQL Query
conn.ConnectionString = constr
conn.open()
'Search SQL Query, Including a Parameter Called Name 'This Query Simply Retrieves All Information That Matches Our Criteria
cmd = New OleDbCommand("Select * From Studenttbl WHERE Student_ID = @StuID", conn)
cmd.Parameters.AddWithValue("@StuID", txtStudentID.Text)
dr = cmd.ExecuteReader
While dr.Read
MsgBox(dr(1))
txtSurname.Text = dr.Item("LastName")
txtFirstName.Text = dr.Item("FirstName")
End While
dr.Close()
dr.Dispose()
conn.Close()
|
|
|
|
|
If you're not getting any results from the query, then there are no matching records in your database. If you think there are, then either you're mistaken, or you're looking at the wrong database.
You need to debug your code; we can't do that for you. Apart from anything else, we don't have access to your database, and we don't know what value you typed in the txtStudentID textbox.
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
What exactly is it that you would expect people to be able to do with this?
We don't have your database file so it would fail immediately for us.
Not a single one of my databases have ever had a table named Studenttbl.
We have no idea at all what is in your database so we can't possibly magic one up for you.
Not a single bit of code in my repository of code has anything named "txtStudentID", so your code would not even compile for me.
We can't see your screen so we would have no idea at all what you have typed into the textbox.
YOU and only you can debug your code and find out what values your variables hold. If your teacher didn't teach you how to use the debugger, you need to go back to him and tell him he needs to add that bit to the class. Learning how to use the debugger is not a programming skill that you can just choose not to learn.
Speed of sound - 1100 ft/sec
Speed of light - 186,000 mi/sec
Speed of stupid - instantaneous.
|
|
|
|
|
Good day,
I have a listview that displays in the table format but I will like to have it displayed differently
Example: last Name First Name: Middle Initial Address
Mark Mary A No 5 Thomson
I will prefer to have is display as shown bellow,
Last Name: Mark
First Name: Mary
Middle Initial: A
Address No 5 Thomson Street
thanks for your help
|
|
|
|
|