|
|
|
On at By |
|
|
Re: Default View by CyberTaz on Friday, February 1st 2008 at 07:21 AM
|
O Problem - and thanks for the confirmation!
Regards |:>)
Bob Jones
[MVP] Office:Mac
On 2/1/08 3:39 AM, in article
35691a5f-9f02-442e-bb20-1f77cf2f21f2@v67g2000hse.googlegroups.com,
"MacAttorney" <macattorney@gmail.com> wrote:
> Thanks! That seems to have worked.
> |
Re: User Defined Functions in Excel 2008 by Bob on Friday, February 1st 2008 at 09:09 AM
|
>
> How would xlm macros call an Applescript?
Try =exec(..)
--
Bob Greenblatt [MVP], Macintosh
bobgreenblattATmsnDOTcom |
Re: Check for Existing Else go to New by Marshall on Friday, February 1st 2008 at 02:04 PM
|
tbrogdon@gmail.com wrote:
>I did everything the way I understood from your post. When I open the
>main form - before it opens - 3 parameter requests pop up in
>succession. The first requests "ProductionDate." The second requests
>"Dept." And the third "Shift." After making an entry into each of the
>3 parameter requests, the main form finally opens and is blank. I've
>checked the underlying tables and the parameter data doesn't seem to
>be captured anywhere.
>
>I started by removing the main form's Record source and the Control
>sources for txtProductionDate, cboDept, and cboShift (which I renamed
>per your instructions). I removed all of the code from the main form
>except for a SetFocus that sets the focus on txtProductionDate when
>the form is opened.
Not important, but there is no need to use SetFocus when the
form first opens. Just set the main form controls' TabIndex
appropriately and the form will automatically set the focus
to the first control in the tab order. Setting the tab
index for all the controls is easy to do using the View -
Tab Order menu item.
> Then, and I think this is where I messed up, I
>selected the uppermost left corner of the main form and right-clicked
>and then selected "Build Event" and that is where I placed the code:
>
>Private Sub SaveIfNew()
>Dim db As Database
>Dim strSQL As String
> 'code goes here...
>db.Execute strSQL
It's not clear what you ended up with in the main form's
module. The Build Event ... button opens the form's module
all right, but it also creates a skeletal event procedure
that might confuse things. Post a Copy/Paste of the module
so I can review it.
>Then I added the line =SaveIfNew() to the AfterUpdate property for the
>corresponding fields in sfmProdOp.
That doesn't sound right. You were supposed to put that in
the AfterUpdate property of the three main form controls.
> Speaking of which I just realized
>that the field -names- in sfmProdOp are respectively txtDate, cboDept,
>and cboShift. The control sources are tblProdOp.ProductionDate,
>tblProdOp.Dept, and tblProdOp.Shift (in other words: ProductionDate,
>Dept, Shift). This could also be the problem.
That shouldn't be a problem, but your use of the word field
is ambiguous. Tables and queries have fields, forms and
reports have controls. If you meant control names instead
of field names, then it should not be a problem. If you
really meant field names, then I am confused, because I
thought the table fields did not have the txt/cbo prefixes.
Note that there should be no need to use table names in the
control source. That would only be appropriate if the
record source query had two fields with the same names,
which is not a good thing.
>Also, I checked the LinkMaster/Child properties in sfmProdOp and they
>are set as follows:
>Link Child Fields: ProductionDate, Dept, Shift
>Link Master Fields: txtProductionDate, cboDept, cboShift
Right.
>What do you think? Is it because tblProdOp, upon which sfmProdOp is
>based, is linked to tblProduction on ProductionDate, Dept, and Shift
>and won't allow a record to be entered until an entry is made into
>tblProduction?
The fact that you are being prompted for those three values
is definitely a symptom of a problem. The prompts are
coming from one or more queries so check if the control name
changes need to be made in the combo box's row source
queries.
I am now concerned about the subform's record source. It
should probably be a query based solely on tblProdOp. This
query should not join to tblProduction. The only reason for
using a query instead of just the table is to sort the
records. If this is not clear, post a Copy/Paste of the
subform's record source query's SQL statement.
> I have another Update query that acts just like this.
>If I haven't made an entry in tblProduction I can't run the update
>query in yet another table that is also linked to tblProduction on the
>same three fields.
I don't want to clutter the issue by discussing other tables
at this time.
>Is there a way to "stall" sfmProdOp in order to allow data to be
>entered in frmProd before sfmProdOp (which by the way is on a tabbed
>control - page (0) in frmProd) makes it decision to ask for
>parameters?
Once we get everything else straightened out this should not
happen so there won't be any reason to do anything.
--
Marsh
MVP [MS Access] |
Re: multithread realloc() by Doug Harrison [MVP] on Friday, February 1st 2008 at 02:56 PM
|
On Fri, 1 Feb 2008 10:34:09 -0800 (PST), Jason Doucette
<jdoucette@gmail.com> wrote:
>I found the bug, it wasn't realloc() at all, obviously. It was my
>memory tracking code -- a strange critical section issue that was
>producing strange bugs. After hours messing with it, and 'proving'
>that all components worked in isolation, I solved it at home when I
>went to bed, and immediately knew I was right, since the symptoms of
>such a bug would match exactly the strangeness that I witnessed. I'd
>love to explain it all, it was kind of neat, but it'd take too long!
Sometimes just the act of posting something to the newsgroup helps. I guess
it helps redirect attention, serves as a distraction, etc. Always glad to
help with that. :) Sleep helps, too, though it can be hard to sleep when
you can't figure something out. Anyway, glad you solved it.
--
Doug Harrison
Visual C++ MVP |
Re: Calling a Sub with passed variables by Jack on Friday, February 1st 2008 at 03:10 PM
|
On Fri, 1 Feb 2008 06:12:44 -0800 (PST), cmdolcet69
<colin_dolcetti@hotmail.com> wrote:
>On Feb 1, 8:37 am, "Armin Zingler" <az.nos...@freenet.de> wrote:
>> "cmdolcet69" <colin_dolce...@hotmail.com> schrieb
>>
>> > I have this Sub that I have passed 4 values to called check battery.
>>
>> > Public Sub CheckBatteryLevel(ByVal mux As
>> > LMIObjectLibrary.Multiplexor, ByVal muxPort As Integer, ByRef
>> > picBattery As PictureBox, ByVal batteryImages As ImageList)
>>
>> > End Sub
>>
>> > If I call the CheckBatteryLevel() inside another Sub It will give me
>> > an error - argument not specified for parameters. Can anyone give me
>> > an example of how to do this?
>>
>> Does your first sentence mean that you can successfully call it from
>> somewhere else? How do you call it there and where it fails? Please show
>> the code. Is CheckBatteryLevel your own sub? Does the sub return a new
>> PictureBox?
>>
>> Armin
>
>Here's the Check BatteryLevel Sub
>
> Public Sub CheckBatteryLevel(ByVal mux As
>LMIObjectLibrary.Multiplexor, ByVal muxPort As Integer, ByRef
>picBattery As PictureBox, ByVal batteryImages As ImageList)
> Try
> If mux.MuxAnalogValues(muxPort) >= 4096 Then
> 'Mux Not Responding
> picBattery.Image = batteryImages.Images(5)
> intBatteryLvl = 4096
> ElseIf mux.MuxAnalogValues(muxPort) > 3720 Then
> 'Full battery
> picBattery.Image = batteryImages.Images(0)
> ElseIf mux.MuxAnalogValues(muxPort) > 3365 And
>mux.MuxAnalogValues(muxPort) <= 3720 Then
> 'OK battery
> picBattery.Image = batteryImages.Images(1)
> ElseIf mux.MuxAnalogValues(muxPort) > 3240 And
>mux.MuxAnalogValues(muxPort) <= 3365 Then
> 'Low battery
> picBattery.Image = batteryImages.Images(2)
> ElseIf mux.MuxAnalogValues(muxPort) > 3000 And
>mux.MuxAnalogValues(muxPort) <= 3240 Then
> 'Critical battery
> picBattery.Image = batteryImages.Images(3)
> ElseIf mux.MuxAnalogValues(muxPort) > 100 And
>mux.MuxAnalogValues(muxPort) <= 3000 Then
> 'Empty battery
> picBattery.Image = batteryImages.Images(4)
> Else
> 'AC Adapter in use
> picBattery.Image = batteryImages.Images(6)
> intBatteryLvl = 4096
> End If
> Catch ex As Exception
> _TListener.AddMethodError(ex)
> End Try
>
>It fails when I try and call it in another Sub as CheckBatteryLevel()
Maybe I don't understand, but your sub requires 4 arguments, so you
must pass 4 arguments when you call it. It is an error if you pass
fewer arguments.
If it makes sense to sometimes call it with fewer arguments, you can
declare some or all of the argument Optional and supply a default
value or you can provide overloads with fewer arguments. |
Re: Trying to join a view and a query for specific output, can't figure it out by Hugo on Friday, February 1st 2008 at 06:29 PM
|
On Thu, 31 Jan 2008 19:22:22 -0500, Tom Cooper wrote:
>
>"Hugo Kornelis" <hugo@perFact.REMOVETHIS.info.INVALID> wrote in message
>news:h5m4q3p55g67f9oqrdf24s3chqh6g7mdbv@4ax.com...
>> On Thu, 31 Jan 2008 10:12:15 -0800 (PST), Tonagon wrote:
>>
>>>Thanks a ton you guys, I owe you all a beer if you are ever in central
>>>Maryland (which you could be right now for all I know).
>>
>> Hi Tonagon,
>>
>> That would be a thirteen hour flight for me. So I suggest you either
>> keep it good and cold . or you just drink it yourself! Enjoy!
>>
>> --
>> Hugo Kornelis, SQL Server MVP
>> My SQL Server blog: http://sqlblog.com/blogs/hugo_kornelis
>
>And if we started doing this, I would go broke buying drinks for everyone
>who helped me in the past <grin>.
Hi Tom,
And I'd be dead drunk drinking everything I was offered (and broke
paying the air fare for this alcoholic trip around the world - though I
probably wouldn't care about that until after the hangover...)
--
Hugo Kornelis, SQL Server MVP
My SQL Server blog: http://sqlblog.com/blogs/hugo_kornelis |
Re: Direct Show : Push Source by The March Hare [MVP] on Friday, February 1st 2008 at 06:59 PM
|
On Fri, 1 Feb 2008 12:32:34 -0800 (PST), esttsy@gmail.com wrote:
> I found out what the problem was. I had Nero Burn uninstalled and
> everything was working fine again.
Some Nero software installs filters that interfere with normal graph
building. IMO, Ahead's software has gone downhill and this is a symptom of
it. I avoid using their software or installing it as a result.
--
Please read this before replying:
1. Dshow & posting help: http://tmhare.mvps.org/help.htm
2. Trim & respond inline (please don't top post or snip everything)
3. Benefit others: follow up if you are helped or you found a solution |
Re: DVDcontrols Handling in Videorender by The March Hare [MVP] on Friday, February 1st 2008 at 07:03 PM
|
On Thu, 31 Jan 2008 19:09:17 -0800 (PST), raghavendra.angadimani@wipro.com
wrote:
> DVD Navigator |(video& subpicture)-->MPEGVideoDecoder-----
>>FFDshowDecoder------>OurRender(Samp Vid)
> |(Audio)---->FFDshowAudiodecoder---->directsound
>
> MpegVideodecoder takes both subpicture and the Video ,and our render
> takes RGB32 datat.
>
> The problem is the chain gets connected properly there are no issues
> in the connection but when I start playing
> Dorender() function doesnt get called in the Video render for the DVD
> playback
The first thing I recommend is that you try the Elecard MPEG-2 decoder
instead of ffdshow to see if it works.
Secondly, you can debug your renderer by building a debug version of the
filter, registering it and setting the executable that builds it as the
start up program in your render project's properties. Then you can put
break points in the methods that are getting called and see what error
codes are being returned.
--
Please read this before replying:
1. Dshow & posting help: http://tmhare.mvps.org/help.htm
2. Trim & respond inline (please don't top post or snip everything)
3. Benefit others: follow up if you are helped or you found a solution |
Re: Workgroup no longer accessible by Chuck [MVP] on Friday, February 1st 2008 at 07:33 PM
|
On Thu, 31 Jan 2008 19:16:43 -0800 (PST), Beej <blaframb@cox.net> wrote:
>On Jan 31, 10:17?am, "Chuck [MVP]" <n...@example.net> wrote:
>> On Wed, 30 Jan 2008 20:53:45 -0800 (PST), Beej <blafr...@cox.net> wrote:
>> >On Jan 29, 7:45?pm, "Robert L. \(MS-MVP\)"
>> ><blinNoEmailple...@mvps.org> wrote:
>> >> System error 53 means name resolution issue or a security software blocks
>> >> accessing. This link may help more details.
>>
>> >> System ErrorsSystem error 51 and 67 System error 52 - You were not connected
>> >> because a duplicate name exists on the network. System error 53 - The
>> >> network path was not ...
>> >> ? ? ?www.chicagotech.net/systemerrors.htm
>> >> "Beej" <blafr...@cox.net> wrote in message
>>
>> >>news:3d3c1530-2ef8-4837-85fd-aa0a17fa8735@c4g2000hsg.googlegroups.com...
>> >> On Jan 29, 10:02 am, "Robert L. \(MS-MVP\)"
>>
>> >> <blinNoEmailple...@mvps.org> wrote:
>> >> > Sounds like computer browser issue. In each computer, use net view
>> >> > command.
>> >> > Do you receive system error 53? Compare the difference of the results.
>> >> > <blafr...@cox.net> wrote in message
>>
>> >> >news:476b25d3-725c-4963-8923-b9bcd1ebc89e@t1g2000pra.googlegroups.com...
>>
>> >> > >I have a home network with 3 wired desktops. One wireless laptop.
>> >> > > One wireless desktop. And two wireless Tivos.
>>
>> >> > > The network has been up and functioning for 4+ years until two weeks
>> >> > > ago when I purchased a new router. Now the laptop and one of the
>> >> > > wired desktops can no longer access the workgroup, although they can
>> >> > > access each other through the network shortcuts. Neither can access
>> >> > > desktop # 2. But desktop #2 can access desktop #1. The last time I
>> >> > > checked desktop #2 could not access the laptop. The error I receive
>> >> > > is the one that states that the workgroup is not accessible. You may
>> >> > > not have permissions, etc.
>>
>> >> > > I'm afraid to turn the other two desktops on, so am unsure of their
>> >> > > contectivity. All three of the PCs in question have access to the
>> >> > > internet, and they print to a printer on a wired print server. The
>> >> > > Tivos can access the internet and each other.
>>
>> >> > > I've attempted to do system restores thinking that just the physical
>> >> > > act of connecting to a new router could have changed a setting. I've
>> >> > > checked the settings on the router (a NetGear MaxRange). The router
>> >> > > shows everything is connected. I've changed the name of each
>> >> > > computer. I've changed the name of the workgroup. For a time the
>> >> > > laptop and destop #1 were able to access the workgroup and each other,
>> >> > > but I got the error on both of them when trying to get to desktop
>> >> > > #2.
>>
>> >> > > I'm about ready to hook the old router back up, but am afraid that
>> >> > > whatever settings have changed will prevent it from working correctly
>> >> > > either.
>>
>> >> > > It is important that I get this resolved. I back a lot of work up
>> >> > > over the network to desktop #2, and right now I have limited to no
>> >> > > access to that PC over the network. I'm also looking at the
>> >> > > possibility of needing surgery in the near future, and would like it
>> >> > > all functioning correctly to make my transition back into work as easy
>> >> > > as possible.
>>
>> >> > > I would appreciate any help. I set the whole thing up originally, but
>> >> > > would call my expertise level at about medium.
>>
>> >> > > Thanks.- Hide quoted text -
>>
>> >> > - Show quoted text -
>>
>> >> Thanks Robert. ?I will see if I can get these results this evening
>> >> when I get home. ?Is there anything in particular I should be looking
>> >> for? ?What happens if I get error 53?
>>
>> >> Bryan- Hide quoted text -
>>
>> >> - Show quoted text -
>>
>> >Well, tonight I found the problem. ?I want to thank Chuck and Robert
>> >again as your help was unbelievable. ?In the interest of helping
>> >others I'm sharing what the problem was although I'm terribly
>> >embarrased by it. ?It turns out that I did have 3rd party firewalls
>> >running on 3 of the 5 PCs. ?As I stated earlier I use McAfee as my
>> >virus protection and have for years. ?Well it turns out that their
>> >Virus Scan Plus includes a firewall which was on and active. ?On
>> >Desktop #2 it was not functioning as it has for what is probably years
>> >(I have no idea when my subscription included this product).
>> >Apparently the new router caused it to ask me if this was a trusted
>> >network. ?When I did, it listed the range of IP addresses, but even
>> >then they were not valid. ?I reentered them and everything began to
>> >work again.
>>
>> >One interesting side note. ?Even with it all communicating again, the
>> >Browstat status shows an error 53 when run from any of the other
>> >machines (with desktop #2 as the Master Browser). ?It no longer says
>> >it couldn't get the server list, but the 53 is still there. ?This
>> >occurs even when I completely turn off this firewall.
>>
>> >I've decided that since it is all working, I'm not going to fuss with
>> >it any longer.
>>
>> >Thanks again for all your help and thanks for teaching me even more
>> >about networking. ?I should tell you that I've been a computer
>> >programmer for 20 years now. ?I'm always learning and never an
>> >expert. ?Shoot, I don't even know when a firewall has been loaded onto
>> >my PC.
>>
>> >Bryan
>>
>> Bryan,
>>
>> When you involve new equipment that uses a different subnet for the LAN, then
>> all personal firewalls that are IP address sensitive have to be updated to
>> reflect the new subnet. ?The term "personal firewall" can have many aspects, as
>> you just found, and some can be less obvious (more "user friendly") than others.
>>
>> If you decide to work on the "Error 53" again, let us know.
>Hello Chuck,
>
>Since you offered to help me tackle this error 53, and I had some time
>this evening, I ran ipconfig /all and browstat on four of the PC's.
>The 5th is on while these are run, but it is rarely one, and has not
>been during most of my testing. It is an old Millenium machine that
>I'm afraid to get rid of for fear that I've forgotten to copy
>something off.
>
>The machine named DFMHQ441 is Desktop #2. D8DQKZ61 is Desktop #1.
>LAPTOP is wireless. and WeezyHP is a wireless Desktop.
>
>DFMHQ441 was the one with the McAfee firewall that was blocking
>access. The other PCs can access it now and all seems to work as
>expected, but as you'll see in the diagnostics below, the other PCs
>all get error 53 in the browstat utility.
So what operating system and file sharing is DFMHQ441 running? XP Home, XP Pro
with Simple File Sharing, XP Pro with Advanced File Sharing, and Guest only
access, XP Pro with non-Guest access?
<http://nitecruzr.blogspot.com/2005/06/file-sharing-under-windows-xp.html#Simple>
http://nitecruzr.blogspot.com/2005/06/file-sharing-under-windows-xp.html#Simple
The good news is that all 4 computers recognise the same master browser
(DFMHQ441), and all 4 see 5 servers.
<http://nitecruzr.blogspot.com/2005/04/nt-browser-or-why-cant-i-always-see.html>
http://nitecruzr.blogspot.com/2005/04/nt-browser-or-why-cant-i-always-see.html
All 4 computers are running Hybrid name resolution.
<http://nitecruzr.blogspot.com/2005/05/address-resolution-on-lan.html>
--
Cheers,
Chuck, MS-MVP 2005-2007 [Windows - Networking]
http://nitecruzr.blogspot.com/
Paranoia is not a problem, when it's a normal response from experience.
My email is AT DOT
actual address pchuck mvps org. |
Re: Workgroup no longer accessible by Chuck [MVP] on Friday, February 1st 2008 at 07:34 PM
|
On Thu, 31 Jan 2008 19:16:43 -0800 (PST), Beej <blaframb@cox.net> wrote:
>On Jan 31, 10:17?am, "Chuck [MVP]" <n...@example.net> wrote:
>> On Wed, 30 Jan 2008 20:53:45 -0800 (PST), Beej <blafr...@cox.net> wrote:
>> >On Jan 29, 7:45?pm, "Robert L. \(MS-MVP\)"
>> ><blinNoEmailple...@mvps.org> wrote:
>> >> System error 53 means name resolution issue or a security software blocks
>> >> accessing. This link may help more details.
>>
>> >> System ErrorsSystem error 51 and 67 System error 52 - You were not connected
>> >> because a duplicate name exists on the network. System error 53 - The
>> >> network path was not ...
>> >> ? ? ?www.chicagotech.net/systemerrors.htm
>> >> "Beej" <blafr...@cox.net> wrote in message
>>
>> >>news:3d3c1530-2ef8-4837-85fd-aa0a17fa8735@c4g2000hsg.googlegroups.com...
>> >> On Jan 29, 10:02 am, "Robert L. \(MS-MVP\)"
>>
>> >> <blinNoEmailple...@mvps.org> wrote:
>> >> > Sounds like computer browser issue. In each computer, use net view
>> >> > command.
>> >> > Do you receive system error 53? Compare the difference of the results.
>> >> > <blafr...@cox.net> wrote in message
>>
>> >> >news:476b25d3-725c-4963-8923-b9bcd1ebc89e@t1g2000pra.googlegroups.com...
>>
>> >> > >I have a home network with 3 wired desktops. One wireless laptop.
>> >> > > One wireless desktop. And two wireless Tivos.
>>
>> >> > > The network has been up and functioning for 4+ years until two weeks
>> >> > > ago when I purchased a new router. Now the laptop and one of the
>> >> > > wired desktops can no longer access the workgroup, although they can
>> >> > > access each other through the network shortcuts. Neither can access
>> >> > > desktop # 2. But desktop #2 can access desktop #1. The last time I
>> >> > > checked desktop #2 could not access the laptop. The error I receive
>> >> > > is the one that states that the workgroup is not accessible. You may
>> >> > > not have permissions, etc.
>>
>> >> > > I'm afraid to turn the other two desktops on, so am unsure of their
>> >> > > contectivity. All three of the PCs in question have access to the
>> >> > > internet, and they print to a printer on a wired print server. The
>> >> > > Tivos can access the internet and each other.
>>
>> >> > > I've attempted to do system restores thinking that just the physical
>> >> > > act of connecting to a new router could have changed a setting. I've
>> >> > > checked the settings on the router (a NetGear MaxRange). The router
>> >> > > shows everything is connected. I've changed the name of each
>> >> > > computer. I've changed the name of the workgroup. For a time the
>> >> > > laptop and destop #1 were able to access the workgroup and each other,
>> >> > > but I got the error on both of them when trying to get to desktop
>> >> > > #2.
>>
>> >> > > I'm about ready to hook the old router back up, but am afraid that
>> >> > > whatever settings have changed will prevent it from working correctly
>> >> > > either.
>>
>> >> > > It is important that I get this resolved. I back a lot of work up
>> >> > > over the network to desktop #2, and right now I have limited to no
>> >> > > access to that PC over the network. I'm also looking at the
>> >> > > possibility of needing surgery in the near future, and would like it
>> >> > > all functioning correctly to make my transition back into work as easy
>> >> > > as possible.
>>
>> >> > > I would appreciate any help. I set the whole thing up originally, but
>> >> > > would call my expertise level at about medium.
>>
>> >> > > Thanks.- Hide quoted text -
>>
>> >> > - Show quoted text -
>>
>> >> Thanks Robert. ?I will see if I can get these results this evening
>> >> when I get home. ?Is there anything in particular I should be looking
>> >> for? ?What happens if I get error 53?
>>
>> >> Bryan- Hide quoted text -
>>
>> >> - Show quoted text -
>>
>> >Well, tonight I found the problem. ?I want to thank Chuck and Robert
>> >again as your help was unbelievable. ?In the interest of helping
>> >others I'm sharing what the problem was although I'm terribly
>> >embarrased by it. ?It turns out that I did have 3rd party firewalls
>> >running on 3 of the 5 PCs. ?As I stated earlier I use McAfee as my
>> >virus protection and have for years. ?Well it turns out that their
>> >Virus Scan Plus includes a firewall which was on and active. ?On
>> >Desktop #2 it was not functioning as it has for what is probably years
>> >(I have no idea when my subscription included this product).
>> >Apparently the new router caused it to ask me if this was a trusted
>> >network. ?When I did, it listed the range of IP addresses, but even
>> >then they were not valid. ?I reentered them and everything began to
>> >work again.
>>
>> >One interesting side note. ?Even with it all communicating again, the
>> >Browstat status shows an error 53 when run from any of the other
>> >machines (with desktop #2 as the Master Browser). ?It no longer says
>> >it couldn't get the server list, but the 53 is still there. ?This
>> >occurs even when I completely turn off this firewall.
>>
>> >I've decided that since it is all working, I'm not going to fuss with
>> >it any longer.
>>
>> >Thanks again for all your help and thanks for teaching me even more
>> >about networking. ?I should tell you that I've been a computer
>> >programmer for 20 years now. ?I'm always learning and never an
>> >expert. ?Shoot, I don't even know when a firewall has been loaded onto
>> >my PC.
>>
>> >Bryan
>>
>> Bryan,
>>
>> When you involve new equipment that uses a different subnet for the LAN, then
>> all personal firewalls that are IP address sensitive have to be updated to
>> reflect the new subnet. ?The term "personal firewall" can have many aspects, as
>> you just found, and some can be less obvious (more "user friendly") than others.
>>
>> If you decide to work on the "Error 53" again, let us know.
>Hello Chuck,
>
>Since you offered to help me tackle this error 53, and I had some time
>this evening, I ran ipconfig /all and browstat on four of the PC's.
>The 5th is on while these are run, but it is rarely one, and has not
>been during most of my testing. It is an old Millenium machine that
>I'm afraid to get rid of for fear that I've forgotten to copy
>something off.
>
>The machine named DFMHQ441 is Desktop #2. D8DQKZ61 is Desktop #1.
>LAPTOP is wireless. and WeezyHP is a wireless Desktop.
>
>DFMHQ441 was the one with the McAfee firewall that was blocking
>access. The other PCs can access it now and all seems to work as
>expected, but as you'll see in the diagnostics below, the other PCs
>all get error 53 in the browstat utility.
So what operating system and file sharing is DFMHQ441 running? XP Home, XP Pro
with Simple File Sharing, XP Pro with Advanced File Sharing, and Guest only
access, XP Pro with non-Guest access?
<http://nitecruzr.blogspot.com/2005/06/file-sharing-under-windows-xp.html#Simple>
http://nitecruzr.blogspot.com/2005/06/file-sharing-under-windows-xp.html#Simple
The good news is that all 4 computers recognise the same master browser
(DFMHQ441), and all 4 see 5 servers.
<http://nitecruzr.blogspot.com/2005/04/nt-browser-or-why-cant-i-always-see.html>
http://nitecruzr.blogspot.com/2005/04/nt-browser-or-why-cant-i-always-see.html
All 4 computers are running Hybrid name resolution.
<http://nitecruzr.blogspot.com/2005/05/address-resolution-on-lan.html>
http://nitecruzr.blogspot.com/2005/05/address-resolution-on-lan.html
--
Cheers,
Chuck, MS-MVP 2005-2007 [Windows - Networking]
http://nitecruzr.blogspot.com/
Paranoia is not a problem, when it's a normal response from experience.
My email is AT DOT
actual address pchuck mvps org. |
Re: Reading Serial Port by Joseph on Friday, February 1st 2008 at 10:07 PM
|
There's no need to read a byte at a time; you need to decouple packet logic from transport
logic. I just read bytes. I parse them, and when I get a full message, I PostMessage,
and hold onto what is left, and append to that (this is why I call my code a "schema" for
serial programming). I would get a byte of "I'm a header" followed by a byte of length.
Use a modified Finite State Machine to parse the input and it works well. You just don't
send everything just one packet's worth each time.
By timeouts I mean the SettCommTimeout time, in particular, my intercharacter timeout was
set to 20ms, which meant the thread was nearly always running.
Yes, you might receive a half-frame, a frame-and-quarter, two-and-a-third, etc. frames,
but that doesn't matter. You handle frame parsing as a different part of the protocol (I
also handled checksums, sending NAKs, and retries)
joe
On Thu, 31 Jan 2008 23:26:32 -0800 (PST), clinisbut <clinisbut@gmail.com> wrote:
>> Your high CPU usage is probably due to your request to ReadFile to
>> read only one byte and return. That is very inefficient and wasteful if the
>> characters are arriving every millisecond!
>
>In this test I set up frames of 16 bytes length only for testing
>purposes, but in final version each frame will have different lengths
>(16 will be the maximum). That's beacuse I grab a byte each time (the
>first byte will say me how many bytes).
>
>> If your timeouts are too short, then ReadFile will complete successfully in a short period
>>of time, and return 0 bytes read, so the event will essentially become signalled after
>> virtually no delay, and your CPU will quickly spike to 100% (in the RS485 case, I had the
>> timeouts wrong, and the reader thread went into an infinite high-priority loop,
>> effectively disabling the entire machine; I changed the timeouts and it worked quite fine
>> after that)
>With timeout do you mean the timeout of the WFMO?
>
>DWORD result = WaitForMultipleObjects( 2, hArray, FALSE,
>INFINITE ); //<---- This
>
>Will incrementing the bytes per read cause to receive a frame (with
>length>bytes_per_read) in two pieces? (Not receive the second part
>until a second FRAME arrives) I can't deal with this behaviour.
Joseph M. Newcomer [MVP]
email: newcomer@flounder.com
Web: http://www.flounder.com
MVP Tips: http://www.flounder.com/mvp_tips.htm |
Re: Unsolvable NetBios Problem by Chuck [MVP] on Friday, February 1st 2008 at 10:24 PM
|
On Thu, 31 Jan 2008 10:01:03 -0800 (PST), thomas.lextrait@gmail.com wrote:
>On 27 jan, 16:38, "Chuck [MVP]" <n...@example.net> wrote:
>> On Sun, 27 Jan 2008 05:21:40 -0800 (PST), thomas.lextr...@gmail.com wrote:
>> >On Jan 26, 3:53 am, "Chuck [MVP]" <n...@example.net> wrote:
>> >> On Fri, 25 Jan 2008 09:55:29 -0800 (PST), thomas.lextr...@gmail.com wrote:
>> >> >I have searched a lot on the web, tryied thousands of solutions and
>> >> >none works.
>> >> >Here is a list of symptoms and information :
>>
>> >> >Symptoms :
>> >> >- Unable to ping computer names on LAN
>> >> >- Able to ping computer IPs on LAN
>> >> >- Unable to browse files on LAN Computers
>> >> >- Unable to list LAN Computers
>> >> >- Unable to map network drives
>>
>> >> >Tests done :
>> >> >- After clicking "repair" for the network card, error shows : "...
>> >> >follwing action could not be completed : Clearing NetBT"
>> >> >- After entering "nbtstat -r" in the CMD, it shows error : "Failed to
>> >> >access NetBT driver -- NetBT may not be loaded"
>> >> >- After entering "ipconfig /all" in the CMD, I get "Disabled" for the
>> >> >status of "NetBios over TCPIP"
>> >> >- Tryied reinstalling the network card driver
>> >> >- Tryied rebooting
>> >> >- Tryied rebooting all the network devices (switch, rooter etc.)
>> >> >- Tryied using other sockets of the switch (ones that surely work)
>>
>> >> >Current configuration of the system :
>> >> >- Windows : XP Pro English - SP2 (up to date)
>> >> >- User account : Computer Administrator
>> >> >- Antivirus : stopped
>> >> >- Windows firewall : stopped
>> >> >- IP Address : 192.168.1.*** (no IP conflict, tried over ip addresses)
>> >> >- WINS : LMHOSTS lookup : checked (enabled)
>> >> >- WINS : Enabled NetBios over TCP/IP : checked (enabled)
>> >> >- All DNS parameters are good
>> >> >- Registry value for NetBios>Start : 1
>> >> >- Registry value for NetBT>Start : 1
>> >> >- Workgroup name is good
>>
>> >> >Thank you very much for your answers
>>
>> >> As Antaeus suggests, you may well have an LSP / Winsock / TCP/IP corruption
>> >> problem.
>> >> <http://nitecruzr.blogspot.com/2005/05/problems-with-lsp-winsock-layer...>http://nitecruzr.blogspot.com/2005/05/problems-with-lsp-winsock-layer...
>>
>> >> How did you stop Windows Firewall? What antivirus protection package do you
>> >> have? Look for antiworm protection, that won't shut off with the antivirus.
>> >> <http://nitecruzr.blogspot.com/2005/05/your-personal-firewall-can-eith...>http://nitecruzr.blogspot.com/2005/05/your-personal-firewall-can-eith...
>>
>> >> You could try to diagnose the problem, using logs from "browstat status",
>> >> "ipconfig /all", "net config server", and "net config workstation", from each
>> >> computer. Read this article, and linked articles, and follow instructions
>> >> precisely (download browstat!):
>> >> <http://nitecruzr.blogspot.com/2005/05/troubleshooting-network-neighbo...>http://nitecruzr.blogspot.com/2005/05/troubleshooting-network-neighbo...
>> >Services "Computer Browser" and "Server" are working ans started.
>> >I have Kasperksy 6.0
>> >I shut the windows firewall by going in the control panel>windows
>> >firewall
>> >I have full access to internet.
>>
>> >Shutting the antivirus and the firewall seem to change nothing to the
>> >problem.
>>
>> Kaspersky also has anti-worm protection, which isn't part of the firewall, nor
>> the anti-virus. That will block SMBs too.
>So you are suggesting I should uninstall Kasperky ?
Kaspersky Support, or the user guide, should be able to direct you to the right
setting for the anti-worm. If you can't find it, though, un installation may be
the next best choice.
--
Cheers,
Chuck, MS-MVP 2005-2007 [Windows - Networking]
http://nitecruzr.blogspot.com/
Paranoia is not a problem, when it's a normal response from experience.
My email is AT DOT
actual address pchuck mvps org. |
Re: Comparing DateTime ? by David on Saturday, February 2nd 2008 at 05:32 AM
|
>I get the date and time in the format ex : 10:45:44 Jan 2 2008 and
>9:23:15 Nov 12 2007
>
>and pass it to a structure of type tm , I also convert month as
>number .
>
> struct tm * time1;
>
>use time_t newTime = mktime(time1 );
>and difftime for comparing .........
Real compilable code please. Ideally a short console application that
demonstrates the issue.
Dave |
Re: Workgroup no longer accessible by Chuck [MVP] on Saturday, February 2nd 2008 at 11:04 AM
|
On Fri, 1 Feb 2008 19:43:28 -0800 (PST), Beej <blaframb@cox.net> wrote:
>On Feb 1, 5:34?pm, "Chuck [MVP]" <n...@example.net> wrote:
>> On Thu, 31 Jan 2008 19:16:43 -0800 (PST), Beej <blafr...@cox.net> wrote:
>> >On Jan 31, 10:17?am, "Chuck [MVP]" <n...@example.net> wrote:
>> >> On Wed, 30 Jan 2008 20:53:45 -0800 (PST), Beej <blafr...@cox.net> wrote:
>> >> >On Jan 29, 7:45?pm, "Robert L. \(MS-MVP\)"
>> >> ><blinNoEmailple...@mvps.org> wrote:
>> >> >> System error 53 means name resolution issue or a security software blocks
>> >> >> accessing. This link may help more details.
>>
>> >> >> System ErrorsSystem error 51 and 67 System error 52 - You were not connected
>> >> >> because a duplicate name exists on the network. System error 53 - The
>> >> >> network path was not ...
>> >> >> ? ? ?www.chicagotech.net/systemerrors.htm
>> >> >> "Beej" <blafr...@cox.net> wrote in message
>>
>> >> >>news:3d3c1530-2ef8-4837-85fd-aa0a17fa8735@c4g2000hsg.googlegroups.com...
>> >> >> On Jan 29, 10:02 am, "Robert L. \(MS-MVP\)"
>>
>> >> >> <blinNoEmailple...@mvps.org> wrote:
>> >> >> > Sounds like computer browser issue. In each computer, use net view
>> >> >> > command.
>> >> >> > Do you receive system error 53? Compare the difference of the results.
>> >> >> > <blafr...@cox.net> wrote in message
>>
>> >> >> >news:476b25d3-725c-4963-8923-b9bcd1ebc89e@t1g2000pra.googlegroups.com...
>>
>> >> >> > >I have a home network with 3 wired desktops. One wireless laptop.
>> >> >> > > One wireless desktop. And two wireless Tivos.
>>
>> >> >> > > The network has been up and functioning for 4+ years until two weeks
>> >> >> > > ago when I purchased a new router. Now the laptop and one of the
>> >> >> > > wired desktops can no longer access the workgroup, although they can
>> >> >> > > access each other through the network shortcuts. Neither can access
>> >> >> > > desktop # 2. But desktop #2 can access desktop #1. The last time I
>> >> >> > > checked desktop #2 could not access the laptop. The error I receive
>> >> >> > > is the one that states that the workgroup is not accessible. You may
>> >> >> > > not have permissions, etc.
>>
>> >> >> > > I'm afraid to turn the other two desktops on, so am unsure of their
>> >> >> > > contectivity. All three of the PCs in question have access to the
>> >> >> > > internet, and they print to a printer on a wired print server. The
>> >> >> > > Tivos can access the internet and each other.
>>
>> >> >> > > I've attempted to do system restores thinking that just the physical
>> >> >> > > act of connecting to a new router could have changed a setting. I've
>> >> >> > > checked the settings on the router (a NetGear MaxRange). The router
>> >> >> > > shows everything is connected. I've changed the name of each
>> >> >> > > computer. I've changed the name of the workgroup. For a time the
>> >> >> > > laptop and destop #1 were able to access the workgroup and each other,
>> >> >> > > but I got the error on both of them when trying to get to desktop
>> >> >> > > #2.
>>
>> >> >> > > I'm about ready to hook the old router back up, but am afraid that
>> >> >> > > whatever settings have changed will prevent it from working correctly
>> >> >> > > either.
>>
>> >> >> > > It is important that I get this resolved. I back a lot of work up
>> >> >> > > over the network to desktop #2, and right now I have limited to no
>> >> >> > > access to that PC over the network. I'm also looking at the
>> >> >> > > possibility of needing surgery in the near future, and would like it
>> >> >> > > all functioning correctly to make my transition back into work as easy
>> >> >> > > as possible.
>>
>> >> >> > > I would appreciate any help. I set the whole thing up originally, but
>> >> >> > > would call my expertise level at about medium.
>>
>> >> >> > > Thanks.- Hide quoted text -
>>
>> >> >> > - Show quoted text -
>>
>> >> >> Thanks Robert. ?I will see if I can get these results this evening
>> >> >> when I get home. ?Is there anything in particular I should be looking
>> >> >> for? ?What happens if I get error 53?
>>
>> >> >> Bryan- Hide quoted text -
>>
>> >> >> - Show quoted text -
>>
>> >> >Well, tonight I found the problem. ?I want to thank Chuck and Robert
>> >> >again as your help was unbelievable. ?In the interest of helping
>> >> >others I'm sharing what the problem was although I'm terribly
>> >> >embarrased by it. ?It turns out that I did have 3rd party firewalls
>> >> >running on 3 of the 5 PCs. ?As I stated earlier I use McAfee as my
>> >> >virus protection and have for years. ?Well it turns out that their
>> >> >Virus Scan Plus includes a firewall which was on and active. ?On
>> >> >Desktop #2 it was not functioning as it has for what is probably years
>> >> >(I have no idea when my subscription included this product).
>> >> >Apparently the new router caused it to ask me if this was a trusted
>> >> >network. ?When I did, it listed the range of IP addresses, but even
>> >> >then they were not valid. ?I reentered them and everything began to
>> >> >work again.
>>
>> >> >One interesting side note. ?Even with it all communicating again, the
>> >> >Browstat status shows an error 53 when run from any of the other
>> >> >machines (with desktop #2 as the Master Browser). ?It no longer says
>> >> >it couldn't get the server list, but the 53 is still there. ?This
>> >> >occurs even when I completely turn off this firewall.
>>
>> >> >I've decided that since it is all working, I'm not going to fuss with
>> >> >it any longer.
>>
>> >> >Thanks again for all your help and thanks for teaching me even more
>> >> >about networking. ?I should tell you that I've been a computer
>> >> >programmer for 20 years now. ?I'm always learning and never an
>> >> >expert. ?Shoot, I don't even know when a firewall has been loaded onto
>> >> >my PC.
>>
>> >> >Bryan
>>
>> >> Bryan,
>>
>> >> When you involve new equipment that uses a different subnet for the LAN, then
>> >> all personal firewalls that are IP address sensitive have to be updated to
>> >> reflect the new subnet. ?The term "personal firewall" can have many aspects, as
>> >> you just found, and some can be less obvious (more "user friendly") than others.
>>
>> >> If you decide to work on the "Error 53" again, let us know.
>> >Hello Chuck,
>>
>> >Since you offered to help me tackle this error 53, and I had some time
>> >this evening, I ran ipconfig /all and browstat on four of the PC's.
>> >The 5th is on while these are run, but it is rarely one, and has not
>> >been during most of my testing. ?It is an old Millenium machine that
>> >I'm afraid to get rid of for fear that I've forgotten to copy
>> >something off.
>>
>> >The machine named DFMHQ441 is Desktop #2. ?D8DQKZ61 is Desktop #1.
>> >LAPTOP is wireless. and WeezyHP is a wireless Desktop.
>>
>> >DFMHQ441 was the one with the McAfee firewall that was blocking
>> >access. ?The other PCs can access it now and all seems to work as
>> >expected, but as you'll see in the diagnostics below, the other PCs
>> >all get error 53 in the browstat utility.
>>
>> So what operating system and file sharing is DFMHQ441 running? ?XP Home, XP Pro
>> with Simple File Sharing, XP Pro with Advanced File Sharing, and Guest only
>> access, XP Pro with non-Guest access?
>> <http://nitecruzr.blogspot.com/2005/06/file-sharing-under-windows-xp.h...>http://nitecruzr.blogspot.com/2005/06/file-sharing-under-windows-xp.h...
>>
>> The good news is that all 4 computers recognise the same master browser
>> (DFMHQ441), and all 4 see 5 servers.
>> <http://nitecruzr.blogspot.com/2005/04/nt-browser-or-why-cant-i-always...>http://nitecruzr.blogspot.com/2005/04/nt-browser-or-why-cant-i-always...
>>
>> All 4 computers are running Hybrid name resolution.
>> <http://nitecruzr.blogspot.com/2005/05/address-resolution-on-lan.html>http://nitecruzr.blogspot.com/2005/05/address-resolution-on-lan.html
>It is running XP Home. I've read through the articles you suggest. I
>understand most of what they say, but I'm not sure what to try since I
>do actually have access other than the 53 error in browstat.
>
>Thanks, Bryan
Bryan,
The "error 53" in browstat, when the master browser is running XP Home, is
normal. If everything else is working, don't sweat it. Enjoy a working LAN.
--
Cheers,
Chuck, MS-MVP 2005-2007 [Windows - Networking]
http://nitecruzr.blogspot.com/
Paranoia is not a problem, when it's a normal response from experience.
My email is AT DOT
actual address pchuck mvps org. |
Re: MS Money Plus 2008 trial time is over - want to convert back. by Cal on Saturday, February 2nd 2008 at 01:34 PM
|
In microsoft.public.money, jonathan@hyland.net wrote:
>
>So I have the choice of spending money on 2008 which I don't feel is
>worth it, or reentering a bunch of transactions into an old backup.
>Seems like Microsoft could do a better job of explaining this up
>front. This seems to be a sales tactic to force people to upgrade if
>they use the trial for more than a few days.
If you were to convert a file again as a test, I expect you would
find the description to be explicit.
Anyway, http://support.microsoft.com/kb/178465 is another
alternative you won't like either. |
Re: Bulkusb.sys performance by Tim on Saturday, February 2nd 2008 at 06:29 PM
|
xxx <anshul.solanki@gmail.com> wrote:
>please clarify this also
>
>>>
>2) so this WriteFile() i am requesting 50K bytes to be written, hence
>there is always data to be sent. Hence driver should load bus, but i
>see in CATC that between two SOF only single packet of 512 is sent.
>>>
>
>Why is sending of 50 , 1K packets ( i.e. pending multiple URB) more
>efficient than sending just one 50K packet to bulkusb.sys driver
What you send to bulkusb.sys is not so important. What is important is
what bulkusb.sys sends to the host controller. Remember that USB is a
"scheduled" bus: the host controller schedules all of the transactions in
advance, and the transactions get committed once the frame starts.
When you send down a single 50K read, that gets chopped into 97 USB
requests of 512 bytes each. That will just about fill one frame (8
microframes, 1 millisecond). The host controller will schedule them out
across one frame.
But by the time that request finishes, the host controller is already
scheduling the NEXT frame. If you don't have another request waiting in
the wings, you won't get a shot. The frame will go on without you, and you
will lose an entire millisecond.
Also, if your hardware should ever send a short packet (less than 512
bytes), the entire 50k transfer will be completed back to you. Again,
unless you have another request already waiting, you will miss the rest of
that frame.
--
Tim Roberts, timr@probo.com
Providenza & Boekelheide, Inc. |
Re: YUV conversion by Tim on Saturday, February 2nd 2008 at 07:01 PM
|
woodhead99 <woodhead99@gmail.com> wrote:
>On Jan 31, 3:12?pm, Tim Roberts <t...@probo.com> wrote:
>>
>> The applicability of these equations depend on the range of the YUV values.
>> There are several standards for what those ranges are. ?Do you know your
>> incoming ranges?
>
> The incoming range is within 0~1024, 10bit. and i nomalized
>it within 0~1 before feeding to the equation. I noticed that the
>waveform of several DVD players output of the 75% PAL bar do not match
>EBU's 75% PAL bar, and can not be fixed by a linear transform. But the
>TV can play the bars as it should be. So there is some mysterious
>standard DVD player industry follows other than EBU?
That's not really what I mean. In the standard YUY2 and UYVY formats (UYVY
matches CCIR-656), there are 8 bits per component, but Y only runs from
0x10 to 0xEF. I don't remember the U and V ranges off hand, but not every
value is valid.
--
Tim Roberts, timr@probo.com
Providenza & Boekelheide, Inc. |
Re: Direct Show : Push Source by Tim on Saturday, February 2nd 2008 at 08:37 PM
|
"The March Hare [MVP]" <themarchhare@alice.in.wonderland> wrote:
>On Fri, 1 Feb 2008 12:32:34 -0800 (PST), esttsy@gmail.com wrote:
>
>> I found out what the problem was. I had Nero Burn uninstalled and
>> everything was working fine again.
>
>Some Nero software installs filters that interfere with normal graph
>building. IMO, Ahead's software has gone downhill and this is a symptom of
>it. I avoid using their software or installing it as a result.
What DO you use to burn CDs?
--
Tim Roberts, timr@probo.com
Providenza & Boekelheide, Inc. |
Re: Serious bug in Windows XP SP3 RC1 related with PPTP by milleron on Saturday, February 2nd 2008 at 08:54 PM
|
On Fri, 1 Feb 2008 12:38:53 -0800 (PST), smlunatick
<yveslec@gmail.com> wrote:
>On Feb 1, 3:28?pm, milleron <nos...@nospam.com> wrote:
>> On Fri, 1 Feb 2008 16:27:21 -0000, "illegalHispanic"
>>
>> <xav...@verizon.net> wrote:
>> >Wrong group...........
>> >no support here for sp3 rc1
>>
>> El wrongo, illegalHispanic, NO tiene razon. ?The OP is reporting a
>> problem VERY relevant to a Usenet group devoted to Windows networking
>> .
>>
>>
>>
>> >"Peter Dassow" <PeterDas...@discussions.microsoft.com> wrote in message
>> >news:F51C6F6F-93AE-4392-8AF7-1DF222CCEE20@microsoft.com...
>> >>I have no idea if it's already documented and if it's already fixed or not.
>> >> I have serious problems with further testing XP SP3, because there is a
>> >> major bug in the build in VPN functionality (PPP, RasMan). I planned to
>> >> test
>> >> pptp connections with all home office applications for my company, and it
>> >> doesn't work definitely.
>> >> I've already looked for some details other users are reporting, and I've
>> >> found something related with the Packet Compression feature in PPP, it's
>> >> called MPPC and it's negotiated during the initial handshake of a pptp
>> >> connection. It seems to be allways enabled, but almost all pptp
>> >> connections I
>> >> know doesn't use this, especially if the gateway side isn't capable of
>> >> that.
>> >> So I am asking for a workaround or just for a refresh with a fixed RasMan
>> >> component of the SP3 RC1. Thank you for every helpful hint.- Hide quoted text -
>>
>> - Show quoted text -
>
>Milleron -- Service Pack 3 has yet to be released as on "general"
>Windows update. It is still in test phases so the original post
>should not have be in this newsgroup.
Beta testers in this group might well be interested. OP might well
get help in this group that's not forthcoming from the beta-test
networking group. What's the harm in his asking? This is not a
moderated forum.
BTW, I think we're all aware that SP 3 hasn't been released yet. |
Re: Check for Existing Else go to New by Marshall on Sunday, February 3rd 2008 at 01:15 PM
|
tbrogdon@gmail.com wrote:
>
>> I am now concerned about the subform's record source. ?It
>> should probably be a query based solely on tblProdOp. ?This
>> query should not join to tblProduction. ?The only reason for
>> using a query instead of just the table is to sort the
>> records. ?If this is not clear, post a Copy/Paste of the
>> subform's record source query's SQL statement.
>
>
>The record source's sql for sfmProdOp is:
>
>SELECT tblProdOp.ProdOpID, tblProdOp.ProductionDate, tblProdOp.Dept,
>tblProdOp.Shift, tblProdOp.WorkstationID, tblProdOp.PartID,
>tblProdOp.OpStepNum, tblProdOp.Setup, tblProdOp.Operator1,
>tblProdOp.Operator2, tblProdOp.QtyRun, tblProdOp.QtyScrap
>FROM tblProdOp;
As long the field names in table tblProdOp are still named
ProductionDate, Dept, Shift, that looks OK to me. Maybe you
would like to add an ORDER BY clause?
But that also means we have to look for another query that
contains the names that you are being prompted to enter.
What other queries are involved in all this? The only other
ones I am aware of is the two combo box's row source query.
Do you have any other queries in these forms? If so, and
you don't see the problem, post them and I'll take a look.
--
Marsh
MVP [MS Access] |
Re: Check for Existing Else go to New by Marshall on Sunday, February 3rd 2008 at 01:49 PM
|
tbrogdon@gmail.com wrote:
>> It's not clear what you ended up with in the main form's
>> module. The Build Event ... button opens the form's module
>> all right, but it also creates a skeletal event procedure
>> that might confuse things. Post a Copy/Paste of the module
>> so I can review it.
>
>This is what I have in the module of the main form (I literally copy/
>pasted your code into the module and verified that the main form
>controls were named in correspondence with the code:
>
>Private Sub SaveIfNew()
>Dim db As Database
>Dim strSQL As String
>
>If IsNull(txtProductionDate) Or IsNull(cboDept) _
> Or IsNull(cboShift) Then Exit Sub
>Set db = CurrentDb()
>strSQL = "INSERT INTO tblProduction " _
> & "(ProductionDate,Dept,Shift) " _
> & Format(txtProductionDate, "\#yyyy-m-d
>\#") & ","_
> & cboDept & "," & cboShift
You need a space between the last " and the _
& Format(txtProductionDate, "\#yyyy-m-d\#") & "," _
Access should have given you an error message when you tried
to run that code. In the future, you should use the Debug -
Compile menu item to check for syntax errors right after you
change any VBA code. VERY IMPORTANT - ***never*** edit a
form or report's code unless the form/report is in design
view.
>> >Then I added the line =SaveIfNew() to the AfterUpdate property for the
>> >corresponding fields in sfmProdOp.
>>
>> That doesn't sound right. You were supposed to put that in
>> the AfterUpdate property of the three main form controls.
>
>Sorry about that. I did actually add =SaveIfNew to the After Update
>event for the corresponding fields of the main form - not sfmProdOp.
Please use Copy/Paste when posting code, queries and
property expressions so we don't waste time discussing
typos. The **controls** on the main form should have their
AfterUpdate property set to:
=SaveIfNew()
The = and the ( ) are required.
>> >What do you think? Is it because tblProdOp, upon which sfmProdOp is
>> >based, is linked to tblProduction on ProductionDate, Dept, and Shift
>> >and won't allow a record to be entered until an entry is made into
>> >tblProduction?
>>
>> The fact that you are being prompted for those three values
>> is definitely a symptom of a problem. The prompts are
>> coming from one or more queries so check if the control name
>> changes need to be made in the combo box's row source
>> queries.
>>
>> I am now concerned about the subform's record source. It
>> should probably be a query based solely on tblProdOp. This
>> query should not join to tblProduction. The only reason for
>> using a query instead of just the table is to sort the
>> records. If this is not clear, post a Copy/Paste of the
>> subform's record source query's SQL statement.
>
>The idea of a query is clear but I am unsure how to implement it in
>the subform. Should I have a parameter query based on the 3 controls
>from the main form?
No!
> And if so, do I set leave the Link Master/Child
>properties the same? How do I have the query of the subform wait for
>the controls in the main form to populate a new record in tblProductio
>before running?
The Link Master/Child properties take care of all that.
Don't go off on that tangent.
>Also, just for my own clarification and in light of the difference
>between fields and controls, regarding the Link Master/Child
>properties; do those links link the fields in the underlying tables
>behind a form and in the case of the unbound controls in the main form
>link the unbound controls themselves in the main form to the bound
>fields of the subform?
Exactly!
The LinkMasterFields property can (and often does) refer to
controls on the main form. The LinkChildFields property
must refer to fields in the subform record source
table/query.
>I have double checked all of the code, linkage, control sources
>references and I am still prompted for the criteria mentioned above.
Keep looking ;-)
--
Marsh
MVP [MS Access] |
Re: Check for Existing Else go to New by Marshall on Sunday, February 3rd 2008 at 01:50 PM
|
tbrogdon@gmail.com wrote:
>
>> The record source's sql for sfmProdOp is:
>>
>> SELECT tblProdOp.ProdOpID, tblProdOp.ProductionDate, tblProdOp.Dept,
>> tblProdOp.Shift, tblProdOp.WorkstationID, tblProdOp.PartID,
>> tblProdOp.OpStepNum, tblProdOp.Setup, tblProdOp.Operator1,
>> tblProdOp.Operator2, tblProdOp.QtyRun, tblProdOp.QtyScrap
>> FROM tblProdOp;
>
>Does the record source sql for sfmProdOp need a WHERE clause that says
>something like:
>
>WHERE ((tblProdOp.Department)=[forms]![frmProd]![cboDept]), etc. 'and
>of course I am unsure if that is the correct syntax.
NO!
The LinkMaster/Child properties take care of all that.
--
Marsh
MVP [MS Access] |
Re: Problem using HTTPS with SqlCeReplication object by susmitha on Sunday, February 3rd 2008 at 02:08 PM
|
hey Charlie,
i know it was long before you had this problem, but would like to know the
way you resolved this problem? i am in the same situation you were in,
totally stuck.
thank you
susmitha
url:http://www.ureader.com/msg/114053.aspx |
Re: Check for Existing Else go to New by Marshall on Sunday, February 3rd 2008 at 03:54 PM
|
tbrogdon@gmail.com wrote:
>In sfmProdOp, the control source for control named txtProductionDate
>is ProductionDate (from tblProdOp); for cboDept (from sfmProdOp), the
>control source is Dept (i.e., tblProdOp.Dept) and the Row Source is:
>SELECT tblDepartment.Dept FROM tblDepartment; for cboShift (from
>sfmProdOp), the control source is Shift (i.e., tblProdOp.Shift) and
>the Row Source is: SELECT tblShift.Shift FROM tblShift
>
>Controls Workstation, PartsID, Setup, Operator1, Operator2 all have
>similar Row Sources as Dept and Shift above. Setup, Operator1, and
>Operator2 all link to tblEmployees (e.g., SELECT tblParts.PartsID FROM
>tblParts)
>
>The only other thing I can think of reporting that is pertinent is
>that tblProdOp has a single field autonumber PK called ProdOpID. I had
>originally wanted to have another composite PK but it would have had
>to include so many fields that I thought it would be truly difficult
>to use. The PK for tblProdOp does not link to anything else at this
>point in time.
That all looks good to me and the autonumber PK is pretty
standard. Is there any VBA code in the subform's module
that runs a query? How about event macros?
How about the main form? Check those combo boxes too.
Is there any other VBA code or macros in the main form?
Grasping at straws now but a control source expression with
a domain aggregate function (DLookup, DCount, DSum, etc)
could also cause a prompt.
--
Marsh
MVP [MS Access] |
Re: FoxPro 2.6 DOS Windows XP Pro Redirect LPT2 Printer Problem by Jeroen on Sunday, February 3rd 2008 at 07:24 PM
|
On Sun, 3 Feb 2008 15:02:03 -0800 (PST), rick.rickr@gmail.com wrote:
>On Feb 3, 1:28 am, Man-wai Chang ToDie <toylet.toy...@gmail.com>
>wrote:
>> > I am using the command
>> > NET USE LPT1: \\PRNTSRV\OKI321 /PERSISTENT:YES
>> > NET USE LPT2: \\PRNTSRV\OKI320 /PERSISTENT:YES
>> > The FPD26 command SET PRINTER TO \\PRNTSRV\LPT2: results in a "printer
>> > not ready error message."
>>
>> Haven't touched DOS for a long time...
>>
>> Did you try "SET PRINTER TO LPT1" or "SET PRINTER TO LPT1:"?
>>
>> --
>> @~@ Might, Courage, Vision, SINCERITY.
>> / v \ Simplicity is Beauty! May the Force and Farce be with you!
>> /( _ )\ (Xubuntu 7.04) Linux 2.6.24
>> ^ ^ 17:25:01 up 8 days 22:59 1 user load average: 1.62 1.73 1.75
>> ? ? (CSSA):http://www.swd.gov.hk/tc/index/site_pubsvc/page_socsecu/sub_addressesa/
>
>Yes, the application specifically issues the command "SET PRINTER TO
>LPT2:", however, the print job is not redirected. The problem seems to
>be related to running FPD26 under Windows XP peer-to-peer networking
>and attempting to redirect to LPT2:.
then you have to change it to:
SET PRINTER TO tempfile.prn
....
SET PRINTER TO
!COPY tempfile.prn \\PRNTSRV\OKI320 |
Re: Check for Existing Else go to New by Marshall on Sunday, February 3rd 2008 at 08:36 PM
|
tbrogdon@gmail.com wrote:
>>Is there any VBA code in the subform's module
>> that runs a query? ?How about event macros?
>
>No and No.
>
>> How about the main form? ?Check those combo boxes too.
>
>No.
>
>> Is there any other VBA code or macros in the main form?
>
>No
>
>> Grasping at straws now but a control source expression with
>> a domain aggregate function (DLookup, DCount, DSum, etc)
>> could also cause a prompt.
>
>No there also.
>
>The controls on the main form (txtProductionDate, cboDept, and
>cboShift) all have their AfterUpdate event set to =SaveIfNew().
>
>Main form Record Source is not set (in other words that property is
>blank). There are no events showing at all in the main form's Event
>tab.
Don't forget to check the main form combo boxes' row source
query too.
>
>Subform container: Source Object is sfmProdOp; Link Child Fields is
>ProductionDate;Dept;Shift; Link Master Fields is
>txtProductionDate;cboDept;cboShift.
>
>sfmProdOp controls are as follows:
>txtProductionDate: Control Source - ProductionDate; no event at all
>cboDept: Control Source is Dept; no event at all; Row Source - SELECT
>Department.Dept FROM Department; no events at all
>cboShift: Control Source is Shift; no event at all; Row Source -
>SELECT Shift.Shift FROM Shift; no events at all
>
>>You need a space between the last " and the _
>
>> & Format(txtProductionDate, "\#yyyy-m-d\#") & "," _
>
>
>I also double checked the space at the end of the code that you
>suggested earlier. It was missing. And I never even view code unless I
>am in design mode.
>
>Now when I attempt to open frmProd, I am stillprompted for the three
>parameters which I enter.
This is getting frustrating. Those names have got to be in
a query from somewhere, we just have to find it.
> Upon entering the final data (Shift), frm
>Prod opens with the three controls empty in the main form. When I
>enter data in the first control (txtProduction) I receive the
>following error: "The expression After Update you entered as the event
>property setting produced the following error: The expression you
>entered has a function name that Microsoft Office Access can't find."
That error says that the function is not declared properly.
I am concerned that you are using the Build Event shortcut
menu to do it. Build Event is intended for what it says,
creating event procedures, and might somehow be getting in
the way of creating an oedinary function procedure.
To double check the entire module, use the VBA editor's
Tools - Options menu item. On the Editor tab, check the box
for Default to Full Module View. Then you can see all the
code in the module and check for inconsistencies. If you
have trouble interpreting what's there, post the whole thing
for me to look at.
While you are in the module, use the Debug - Compile menu
item to check for other problems.
>Again, I entered this code by left-clicking the upper left corner of
>frmProd which resulted in the square in the corner having a black dot
>in the middle of it. Then I right clicked to get a popup menu from
>which I selected build event where I went to the next available space
>and pasted this code:
>
>Private Sub SaveIfNew()
>Dim db As Database
>Dim strSQL As String
>
>If IsNull(txtProductionDate) Or IsNull(cboDept) _
> Or IsNull(cboShift) Then Exit Sub
>Set db = CurrentDb()
>strSQL = "INSERT INTO tblProduction " _
> & "(ProductionDate,Dept,Shift) " _
> & Format(txtProductionDate, "\#yyyy-m-d
>\#") & "," _
> & cboDept & "," & cboShift
>db.Execute strSQL
>
>End Sub
>
>When I select View:Code from the pull down menus at the top a module
>opens up that let's me view the above code. It is listed under
>(General) SaveIfNew.
Ah ha! That was supposed to be a Function, not a Sub. It
should be:
Private Function SaveIfNew()
--
Marsh
MVP [MS Access] |
Re: Automatically categorize contacts based on email sent or recieved by Michael Bauer [MVP - Outlook] on Monday, February 4th 2008 at 02:31 AM
|
Thanks. For the Addin Category Manager I'm always interested in how people
want to categorize their data.
--
Best regards
Michael Bauer - MVP Outlook
The Tool for Working with Outlook Categories:
<http://www.vboffice.net/product.html?id=2006063&cmd=detail&lang=en&pub=6>
Am Fri, 1 Feb 2008 07:38:11 -0800 (PST) schrieb bisaacs@telus.net:
> On Jan 31, 11:22?pm, "Michael Bauer [MVP - Outlook]" <m...@mvps.org>
> wrote:
>> I'm curious, how do you want to categorize the contacts?
>>
>> --
>> Best regards
>> Michael Bauer - MVP Outlook
>> ? Easy Categorizing:
>> ?
<http://www.vboffice.net/product.html?id=2006063&cmd=detail&lang=en&pub=6>
>>
>> Am Thu, 31 Jan 2008 12:05:01 -0800 (PST) schrieb bisa...@telus.net:
>>
>>
>>
>>> Hi all,
>>
>>> I am using outlook 2007 on vista. I would like to automatically
>>> categorize contacts based on attributes of an e-mail sent or recieved.
>>> A rule would be the obvious solution, but the rules wizard only allows
>>> you to do this for the e-mail itself and not the contact.
>>
>>> Any suggestions?- Hide quoted text -
>>
>> - Show quoted text -
>
> Hi Michael,
>
> Categorization should be based on the contents of the subject line,
> the presence of an attachment, etc---just as for the categorization of
> email, but applied to the contact. I work as a business broker and
> receive hundreds on inquiries from individuals that need to be
> categorized according to the email correspondence.
>
> Thanks again for your interest. |
Re: MSHFLXGD.OCX and 64-bit Windows by Jan Hyde (VB MVP) on Monday, February 4th 2008 at 05:10 AM
|
George <gp9631@optonline.net>'s wild thoughts were released
on Sun, 3 Feb 2008 12:30:46 -0800 (PST) bearing the
following fruit:
>I am planning to make use of this OCX (the 64-bit version, if there is
>one) from within a 64-bit app in a 64-bit Windows environment.
>
>I am using VS 2008.
But as Mike said, there isn't one. Nor is there likely to
be.
Besides, what's wrong with the grid controls available in
VS2008? There are also some excelent third party grids.
I use the one by devexpress and farpoint also do an excelent
grid control.
J
>Thanks.
>
>George
>
>
>On Feb 2, 2:21?pm, "MikeD" <nob...@nowhere.edu> wrote:
>> "George" <gp9...@optonline.net> wrote in message
>>
>> news:2aea40d0-8411-46ec-91bd-2746019c2097@i72g2000hsd.googlegroups.com...
>>
>> > Does anyone know if there is an 64-bit version of MSHFLXGD.OCX (that
>> > originally
>> > shipped with VB/VC 6.0)?
>>
>> Not hardly. VB6 (and all of Visual Studio 6) is strictly 32 bit development.
>>
>> > If not, when it will become available?
>>
>> Try never. Even if there WERE a 64 bit version of this particular OCX, it
>> wouldn't likely work in a 32 bit development system (just like 32 bit
>> components didn't work in a 16 bit development system, although there was a
>> way to call 32 bit API functions from a 16 bit app).
>>
>> If you want to do any native 64 bit development or use 64 bit components,
>> you're gonna have to go with VS2003 (if you want to stick with MS tools).
>>
>> --
>> Mike
>> Microsoft MVP Visual Basic
--
Jan Hyde
https://mvp.support.microsoft.com/profile/Jan.Hyde |
Re: Direct Show : Push Source by The March Hare [MVP] on Monday, February 4th 2008 at 10:19 AM
|
On Sat, 02 Feb 2008 16:37:00 -0800, Tim Roberts wrote:
> What DO you use to burn CDs?
In the age of 8 GB+ thumb drives, it's quite rare for me to burn CDs or
DVDs. Usually, I use ISORecorder or Alcohol 120 for ISOs. I can't
remember the last time I made a CD backup using a file selection based
application.
--
Please read this before replying:
1. Dshow & posting help: http://tmhare.mvps.org/help.htm
2. Trim & respond inline (please don't top post or snip everything)
3. Benefit others: follow up if you are helped or you found a solution |
Re: Making a change to a check box cell instant by Jack on Monday, February 4th 2008 at 01:28 PM
|
On Mon, 4 Feb 2008 07:24:18 -0800 (PST), Cartoper <cartoper@gmail.com>
wrote:
>On Feb 1, 6:53?pm, Jack Jackson <jjack...@cinnovations.net> wrote:
>> On Fri, 1 Feb 2008 12:45:23 -0800 (PST), Cartoper <carto...@gmail.com>
>> wrote:
>>
>> >I have a data grid that has a check box in one column. ?I would like
>> >the value in the dataset to change as the user clicks on the check
>> >box, not after they click on another row. ?How do I do that?
>>
>> Assuming you are using a DataGridView, one way is to override
>> OnCurrentCellDirtyStateChanged and force a commit:
>>
>> ? ? Protected Overrides Sub OnCurrentCellDirtyStateChanged(ByVal e As
>> System.EventArgs)
>> ? ? ? ? MyBase.OnCurrentCellDirtyStateChanged(e)
>>
>> ? ? ? ? If IsCurrentCellDirty Then ? ? ? ? ? ? ? ? ? ?
>> ? ? ? ? ? ? CommitEdit(DataGridViewDataErrorContexts.Commit)
>> ? ? ? ? End If
>>
>> ? ? End Sub
>
>Yea, I am using a DataGridView, sorry for leaving that out.
>
>That works for the checkbox, but not for the text field next to it. I
>recall doing this a couple of years ago, some how I believe I simply
>called EndEdit or something, but I don't recall the details. Any
>other thoughts?
If you are using a BindingSource between your grid and the datasource,
you can try calling the BindingSource's EndEdit() method. |
Re: Re:Following XLOPER references to references by Steve Dalton on Tuesday, February 5th 2008 at 07:46 AM
|
Hi Sandeep
The old thread can best be summed up as that of how to turn Excel from a
spreadsheet that manipulates data to one that manipulates metadata.
The starting point has to be a very clear understanding of what needs to be
done with the metadata and what needs to be done with the associated data,
where these are stored, how they are manipulated, how changes to data or
metadata are detected and reacted to.
If you can define these things clearly, then I would expect there to be a
solution within the capabilities of Excel and the C API.
Regards
Steve Dalton
"Deep K" <kalal.sandeep@gmail.com> wrote in message
news:37d5eec3e10d4f39b82c14a0fb6066a5@newspe.com...
> Hi,
>
> This thread seems to be very old, but Brian, were you able to code this?
>
> I am looking to use xlcoerce to get the data referenced by a Lable
> referencing to a range of cells. Can someone please give some pointers?
>
> Thanks,
>
> Sandeep
>
> url:http://ureader.com/msg/1039143.aspx |
Re: Unnecessary Files Disk Cleanup Not Working? by StephenB on Tuesday, February 5th 2008 at 08:25 AM
|
Roydw <royd@citlink.net> wrote:
>On Jan 31, 3:04?am, StephenB <sbo...@mvps.org> wrote:
>> Roydw <r...@citlink.net> wrote:
>> >On Jan 30, 4:09?pm, StephenB <sbo...@mvps.org> wrote:
>> >> Roydw <r...@citlink.net> wrote:
>> >> >I am running Onecare (v2.0.2500.14) on two computers with Windows
>> >> >Vista. ?I am not sure exactly when the problem(s) started but it seems
>> >> >about the time the computers were upgraded to Onecare version 2.0.
>> >> >What I have (finally) noticed is even though the delete unnecessary
>> >> >files box is checked and the Tuneup report states this task completed
>> >> >satisfactorily, no files have been deleted. ?For example, Tuneup ran
>> >> >this morning at 2:00 am and deleted 0 MB of files. ?Yet when I run
>> >> >CCleaner, I can delete nearly 50 MB of temp internet files. And this
>> >> >Onecare behavior is the same on both of our PCs.
>>
>> >> >TIA for any help you can provide.
>>
>> >> >Roy
>>
>> >> If you run Disk Cleanup manually from Start/Accessories/System Tools, and set
>> >> the options for what you wish to cleanup, I believe OneCare will use these
>> >> options.
>> >> -steve
>> >> --
>> >> Stephen Boots sbo...@mvps.org
>> >> Microsoft MVP - Windows Live
>> >> Windows Live OneCare Forum Moderatorhttp://forums.microsoft.com/windowsonecare/default.aspx?siteid=2
>>
>> >Hi Stephen
>>
>> >When I run Disk Cleanup (or CCleaner), it works as expected. ?However,
>> >when I run OneCare, no files are deleted even though it reports the
>> >unnecessary file cleanup process as completed. ?I am almost sure this
>> >problem started when v2 was installed.
>>
>> >Roy
>>
>> Hi, Roy. I guess I need to turn on Disk Cleanup to check it out here, but I'll
>> pass this on to the OneCare team. You may want to contact support to report the
>> problem - I'd probably use the email support path.
>> How to reach support (FAQ) -http://forums.microsoft.com/WindowsOneCare/ShowPost.aspx?PostID=24217...
>> -steve
>> --
>> Stephen Boots sbo...@mvps.org
>> Microsoft MVP - Windows Live
>> Windows Live OneCare Forum Moderatorhttp://forums.microsoft.com/windowsonecare/default.aspx?siteid=2- Hide quoted text -
>>
>> - Show quoted text -
>
>Hi Stephen
>
>The weekly run of Tuneup on our computers prompted me to look a little
>closer at the "problem" of OneCare not deleting unnecessary files.
>Woops, I miss-reported the problem. The files have been deleted but
>the summary report states that 0 MB of files were deleted when the
>actual number is near 50 MB. I just didn't see the obvious - the
>problem is with the OneCare summary report, not with actual
>performance of OneCare.
>
>I would post this clarification on the Microsoft site but alias I
>have yet another problem with Vista/IE7. For some reason I cannot
>properly log into the Password (or Windows Live Network) system(s)
>which is required to post to the forum. FWIW I have no problem with
>login to my Windows Live account (or Passport or Hotmail). Oh Well,
>more fun I guess <g>.
>
>Thanks again for the help.
>
You're welcome.
For login issues to the forum, delete your IE temporary Internet files and
cookies and restart the browser. That usually fixes that annoying problem.
-steve
--
Stephen Boots sboots@mvps.org
Microsoft MVP - Windows Live
Windows Live OneCare Forum Moderator
http://forums.microsoft.com/windowsonecare/default.aspx?siteid=2 |
Re: Mapi Message Body and Subject in foreign languages by Mo E. on Tuesday, February 5th 2008 at 11:16 AM
|
Sir,
Thank you very much to take the time and answer to this question. I am
looking around to find a way to perform the task you proposed to me (hidden
rtf control, ...) but i would like to know if you happen to have a code
template or a good link on loading it and streaming the unicode text out,
knowing i have no gui.
Thanks again.
url:http://www.ureader.com/msg/14751319.aspx |
Re: encoding multichannel audio using the ASFWriter by Chris P. on Tuesday, February 5th 2008 at 01:46 PM
|
On Tue, 5 Feb 2008 08:41:41 -0800 (PST), babgvant wrote:
> Do you know if the WMF PG has a place to submit these kinds of issues,
> or is it the sort of thing that requires a trudge through PSS?
I've not seen WMF respond through any channel except for PSS. I think they
are kept locked up in the basement of building 50 and not allowed to
communicate with the outside world. I sent it to the DS folks I know but
they were at a loss.
--
http://www.chrisnet.net/code.htm
[MS MVP for DirectShow / MediaFoundation] |
Re: Microsoft Word 2002/SP3 - error 1040 with Windows Vista Basic by Emanuela on Tuesday, February 5th 2008 at 02:59 PM
|
Ok I did not understand that I had to ask for HOTFIX directly to Microsoft.
I will do immediately.
Thanks MANU
url:http://www.ureader.com/msg/10015000.aspx |
Re: Re:Value of Type String cannot be converted to System.xml.xmlDocument by Rafael Dominguez on Tuesday, February 5th 2008 at 07:17 PM
|
All, I'm user Visual Studio 2008/VSTO trying to read a DWORD registry value
which stores a user password and use to send an xml doc with httpWebRequest
as seen below. Wondering how to store and retrieve this kind of data from
the registry using VS.
http://msdn2.microsoft.com/en-us/library/bb894286.aspx
<PlaceWareConfCenter authUser="apiuser" authPassword="Pa$$w0rd">
<CreateMeetingRequest
maxUsers="100"
name="ShipParty"
title="Come to celebrate">
<OptionList>
<TimeOption name="startTime" value="2007-10-27T14:00:00Z"/>
<TimeOption name="endTime" value="2007-10-27T18:00:00Z"/>
<StringOption name="timeZone" value="America/Los_Angeles"/>
<EnumerationOption name="meetingType" value="OneTime" >
<String>OneTime</String>
<String>MeetNow</String>
<String>Recurring</String>
</EnumerationOption>
</OptionList>
<FieldList>
<Name>name</Name>
<Name>meetingType</Name>
<Name>mid</Name>
<Name>presenterPassword</Name>
<Name>audiencePassword</Name>
</FieldList>
</CreateMeetingRequest>
</PlaceWareConfCenter>
Thanks,
Rafael
"Micah Bell" <mbell@gmail.com> wrote in message
news:05b50f7ccae54719a7cc1a1fd7be0ade@newspe.com...
> Well you could do this a number of ways, but this might get you started.
>
> Dim myXMLDocument As New XmlDocument
> Dim myXMLNodeList As XmlNodeList
> Dim myXMLNode As XmlNode
>
> myXMLDocument.Load("C:\test.xml")
>
> myXMLNodeList = myXMLDocument.SelectNodes("/ParentNodeName/childNodeName")
>
> For Each myXMLNode In myXMLNodeList
> dim strTest as string = myXMLNode.Item("UserCredentials").InnerText
> next
>
> You can either loop through all the nodes or remove the For Each in which
> you specify the record and item like
> myXMLNOde(0).item(0).innertext
>
> Hope that helps!
>
> url:http://www.ureader.com/msg/15431163.aspx |
Re: sample by The March Hare [MVP] on Wednesday, February 6th 2008 at 01:33 AM
|
On Tue, 5 Feb 2008 19:45:19 -0800 (PST), mmvvnn@gmail.com wrote:
> hi thanks for ur reply. explain me simple way to capture image from
> live video. In AmCap sample i can not understand the code. am using
> RenderStream method i can view the live video, but i dont know how to< | |