|
|
J4amieC wrote: Urgent[^]
This i was answering to men, i dont know him buth i tried to help him is that bad???
J4amieC wrote: Please help me!!!!!!![^]
is a crime to ask help from someone?
J4amieC wrote: Not urgent, but a 1 line question[^]
Seample and short question... the answer should be Yes...No... that someone answered "yes" i would ask him how!!! that someone answered "no" i will not answer nothing and i would know that its not possible and i would vote for message who posted me no with "5"... Well kill me... buth newer mind i found answers on my questions, eighter on this website and another BUTH I DONT WANT TO FIGHT BECOSE THIS IS THE BEST WEB SITE AND BEST VB.NET PROGRAMERS HERE I REALY LIKE THIS...
J4amieC wrote: Help me I have 10 days to finish.[^]
This one i finished on time... why? becose i told the people that i have ten days to finish it and then they realy helped me... u think i lie that i didnt have 10 days of time to finish it? i did i dont lie, well one man thinks that i lie and he will not answer the other one had that situation and help me third one dont have time fourth wanna help and so on i sad not on this site buth on others ya...
J4amieC wrote: I know alot of the results on the link I posted were in the same thread, but a large proportion of your posts are either "Urgent" or show total disregard for the ettiquette (look it up) of this and every technical forum ive ever visited.
well i want to help everyone is it bad if i go to help someone? he has problem i try to help him if he dont agree with it ok vote for me "0" i dont care i tried to help...
J4amieC wrote: You are officially blacklisted, not least because of this post but because when given advice you throw it back every time!
well thats not true!!! Maybe i wrote something that you didnt understand good becose i dont write english werry good!... Buth newer mind
wohhhhhhhh
<blink>FeRtoll Software.net
------------
E-Mail me
WebPage
-- modified at 11:14 Tuesday 28th March, 2006
|
|
|
|
|
I'm new to vb.net...and can't figure out how to get the selected date put into a var.
please help...
TIA
--==[[ Joe ]]==--
|
|
|
|
|
Dim oRng As SelectionRange
oRng = MC.SelectionRange
MsgBox(oRng.ToString)
Or just
MsgBox (MC.SelectionRange.ToString)
Where MC is the name of the control
"If i was king cigarettes would be free."
|
|
|
|
|
autoredraw is not supported in .net
how to go about this problem
ty in advance
maytel
|
|
|
|
|
Have you tried a little Google?? I did and the first link[^] looked pretty good.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
googled already bad connection yesterday
anyways got it already just now
tnx
|
|
|
|
|
How to can the owner of a NTFS file?
Thank you.
|
|
|
|
|
|
If your HD urder NTFS formatting, each file should have a owner.
You may find that by
1. Right click the file
2. property
3. Security
4. Advance
5. Owner(tab)
My Question is How to get that?
I have search a lot of article which cannot use.
my env is framework 1.1 and VS2003, Thank you!
|
|
|
|
|
If your HD urder NTFS formatting, each file should have a owner.
You may find that by
1. Right click the file
2. property
3. Security
4. Advance
5. Owner(tab)
My Question is How to get that?
I have search a lot of article which cannot use.
my env is framework 1.1 and VS2003, Thank you!
|
|
|
|
|
The .NET Framework versions 1.0 and 1.1 didn't include any support for NTFS Security, including file ownership. This didn't show up until the .NET Framework 2.0 was released which includes that System.Security namespace.
It's not as easy as you might think to do something so simple. See this[^] for an example.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
Hi Everybody
anybody know how I scan all the file in a folder and its subfolder in vb 6.0
Thanks
|
|
|
|
|
What do you mean by "scan"???
The basic framework is a recursive function (one that calls itself) with a path to "scan". You'll get the list of files in that path (directory, folder, what have you) and do whatever you need to on those files. You'll then get the list of subfolders in that path, build a new path with each of those subfolder names, and the function will call itself with each new path. A little pseudo-code:
Private Sub ScanFolder(ByVal path As String)
' Get list of files in "path" and process them.
' Get list of folders in "path"
For Each subFolderName In SubFolders
newPath = path + "\" + subFolderName
ScanFolder subFolderName
Next
End Sub
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
thanks i got the solution
Thanks
|
|
|
|
|
Hi,
I'am looking for a code to refresh crystal reports at runtime.One code I used is :
crviewer1.refresh
where crviewer1 is the name of the crystal report object in VB6.But I'am getting the following error :
" Method refresh of the object crviewer1 is invalid. "
Can anyone help me out.
Thanx & Regards.
Success is not a Destination,
... But a Journey !!
-- modified at 2:14 Monday 27th March, 2006
|
|
|
|
|
Its been a very long time since I've used VB6 and/or CR, but IIRC, the ReportViewer object doesn't have a Refresh method.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
Hi, Dave
Thanx for ur response.
Is there any way to put new values in the report at runtime.
I am facing a small problem.
What I want to do is that if the value in a combobox is changed then the report should show data related to that changed value without exiting the appl.
When I generate the reports, by selecting an item from the list of a combobox, for the very first time, it displays the expected results.But when I change the selection from the list of the combobox, the CRViewer shows me the previous results.When I click the REFRESH button on the toolbar of the CRViewer then only the new values related to that selected list item are displayed.I want that, without clicking the REFRESH button the report should display the expected results.
Is there an alternative for this problem ?
Thanx & Regards.
Success is not a Destination,
... But a Journey !!
|
|
|
|
|
I haven't used CR in about 8 years now, but looking through the documentation on MSDN, it looks like you can accomplish what you want by calling the RefreshReport method on your CrystalReportViewer object. Depending on how your report is written, you might have to change a parameter in the Viewers ParameterFieldInfo collection.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
Hi Dave,
Thanx for ur response.
I tried the RefreshReport method but unfortunately it didn't work.
Thanx & Regards.
Success is not a Destination,
... But a Journey !!
|
|
|
|
|
Hi Dave,
Thanx for ur response.
I tried RefreshReport method, but unfortunately it didn't work.
Thanx & Regards.
Success is not a Destination,
... But a Journey !!
|
|
|
|
|
Hi,
I have a table with ID, col_name1, col_name2 and so on.
i am building a dataTable with ID
another datatable with all the columns that contains that id
now i am passing ID as a parameter in the second datalist and building a dataview. which gives me a block of data with just one specific ID. please refer to my code below:
-----------------------------
objConn = New SqlConnection(dbPath)
Try
'select the table with only distinct ID based
cmd = New SqlCommand("select distinct measure_id from measuredata m, textdata t where t.ScoreCardId = m.ScoreCardId", objConn)
Dim da As SqlDataAdapter = New SqlDataAdapter(cmd)
Dim dtId As New DataTable("MeasureId")
da.Fill(dtId)
'select all columns with ID
Dim cmd1 As SqlCommand = New SqlCommand("select * from measureData", objConn)
Dim da1 As SqlDataAdapter = New SqlDataAdapter(cmd1)
Dim dt As New DataTable("MeasureSource")
da1.Fill(dt)
Dim myView As New DataView(dt)
Dim datarow As DataRow
Dim listitem As System.Web.UI.WebControls.ListItem
For Each datarow In dtId.Rows
myView.RowFilter = String.Format("Measure_Id='{0}'", datarow.Item("measure_Id"))
'######## checking if the dataview works #########
DataGrid1.DataSource = myView
DataGrid1.DataBind()
Next datarow
Catch ex As Exception
Response.Write("OOPs what went wrong:" + ex.ToString)
Finally
End Try
-----------------------------
now Datagrid1 is picking up only the block of record with last ID as it can only hold i set of data.
how can i programatically populate a chart inside that loop so that i can build a chart if there is data related to specific ID.
my aim is to generate a separate webchart for each ID in run time. do i need to declare those webchart control before i actually bind the data to it.
hope its not complex. I did post this question lots of time but i am not getting any response. is it too hard? I am happy to buy a third party software if could automate what i want to achieve.
many thanks again for all your help.
|
|
|
|
|
foremorecoast1 wrote: is this achievable?
Yep.
foremorecoast1 wrote: hope its not complex.
It's about a medium level of difficulty.
foremorecoast1 wrote: I did post this question lots of time but i am not getting any response.
Your not getting a response because you weren't listening the first 8 times you asked the same question.
I'll say it again. Get a table containing the UNIQUE ID's in your dataset. Then get a table containing all the records using those ID's. Now, how about a little pseudo-code:
For Each ID in the table
Create a new DataView object on that table, filtering by that ID number
Create a new webchart control and place it where you need it in the web page
Bind the new DataView to the WebChart control
Next
If you want more information on dynamically creating controls in ASP.NET, a little Google goes a long way. "dynamically create controls in ASP.NET"[^]
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
Hi Dave,
I did already post my code and explained my problem. I did understand what you said and i did implement it which i posted earlier. my problem is.
------
For Each datarow In dtId.Rows
myView.RowFilter = String.Format("Measure_Id='{0}'", datarow.Item("measure_Id"))
'######## checking if the dataview works #########
MycosChartWeb1.DataSource = myView
MycosChartWeb1.DataBind()
'#checking if we are getting data with test datagrid
'or
'DataGrid1.DataSource = myView
'DataGrid1.DataBind()
Next datarow
------
there are 10 IDs so the loop runs 10 time but myView can only hold one set of data so it only returns the last set of record and binds it to webchart or datagrid but i want to have 10 webcharts created if there is 10IDs hope you understand what i am trying to acheive. or if you think there is any webcharting tool which can fix my problem happy to buy that.
thanks
Bikash
|
|
|
|
|
I refer you back to the pseudo-code in this[^] post, and the links after it.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|