kes166 37 Practically a Master Poster

I'm looking for software that will allow someone at one end to talk into a camera and stream to a Raspberry Pi on the other end. It's going to be a prop for a live action role play game I'm running for later in the year and I'd like to get a jump on figuring out what I'll need.

It's literally going to be a "mirror mirror on the wall" type thing. I'll have a laptop/camera or other setup which will allow the person in the mirror to talk to the players through the rasp pi, and a router which will allow the two devices to connect, but there will be no Internet connectivity since the location is remote.

If anyone knows of a cheap or free software that would work, please let me know. I did a little looking and couldn't find anything definitive without actually testing it.

kes166 37 Practically a Master Poster

Figured it out. Did a google search on the junk characters and apparently it's common for some editors to add UTF-8 characters. I recreated the text file and that fixed the issue.

kes166 37 Practically a Master Poster

Good Evening,

I'm working on my final project and I'm having an issue with reading input from a file and converting the string into an integer - specifically with the first character being read from the file.

Here is the data in the .txt file created in notepad:

6 -1 -1 -1 2 -1 -1 -1 9
-1 1 -1 3 -1 7 -1 5 -1
-1 -1 3 -1 -1 -1 1 -1 -1
-1 9 -1 -1 -1 -1 -1 2 -1
2 -1 -1 8 7 5 -1 -1 3
-1 -1 5 -1 1 -1 4 -1 -1
-1 7 -1 -1 8 -1 -1 9 -1
-1 -1 1 -1 4 -1 8 -1 -1
-1 -1 -1 2 5 9 -1 -1 -1

When the first character is read from the file, this is what is saved into the variable and then displayed on the screen:

6

when I use atoi to convert to an interger, it ends up being a 0. The code is pretty straight forward.

 ifstream inputFile;
 string one = "";
 inputFile.open("puzzle.txt");

 for (int x = 0; x < 9; x++) {
   for (int y = 0; y < 9; y++) {
   inputFile >> one;
   cout << one << " ";
   }
  cout << endl;
 }
 inputFile.close();

What am I missing to eliminate the garbage characters before the 6? I've tried using getline (inputFile, one); and used a while loop using while …

kes166 37 Practically a Master Poster

You're right, it needs to be declared dynamically which I missed and can be done using a pointer. This code should allow for user input to declare an array of the appropriate size.

int Floors;
cin >> Floors;
double* Room = new  double[Floors+1];

Thanks for the correction! :)

kes166 37 Practically a Master Poster

Is it repeating "Floors" times - meaning is the input being displayed as many times as you have Floors?

I'm guessing you want to display the available, occupied, etc, per floor. You are correct in your assumption that you will need arrays to do this. The problem is in the first loop when you are reading in the data to the variables, the data of the previous floor is being overwritten with the data of the last floor.

For example, let's assume floor 1 has five rooms and floor 2 has three rooms. The variable Rooms will equal 3 even though there are five rooms on floor one. When doing a cout on Rooms, it will display 3.

To get you started, you will need to define floors before you declare your array.

#include <iostream>
#include <iomanip>
using namespace std;
int main() {
    //Variable Definitions
    int Floors;
    char choice;
    int count = 1;

   //Retrieving Floors of Hotel from User
    cout << "\nFirst, tell us how many floors does the hotel have: " << endl;
    cin >> Floors;

   //declare arrays
   double Rooms[Floors+1], occupied[Floors+1];

Floors[1] will correspond with floor 1, Floors[2] will be the second floor, etc.

Floors[0] will not be used. Notice the [Floors+1] in the declaration? That will increase the size of the array so we can disregard starting at 0. It looks like your loops are already set up for this.

kes166 37 Practically a Master Poster

Schol-R-Lea,

Thanks for the reply. I'll look into what you suggested. You are correct, it's part of a bigger project and it's also a little bit of "because it's there and I want to see if it's possible". I work with a local desk in the US and a desk in Barcelona so I'm trying to create something that forces everyone to use the exact same email template. I can't think of a better way than creating a Windows GUI with input boxes asking for input, having the agent click a button, and then having the program open an email using the default email program (which is Outlook 2016 in this case) with the template already filled in.

kes166 37 Practically a Master Poster

So after alot of playing around, I came up with this (which isn't exactly what I need)

#include "stdafx.h"
#include <string>
#include <iostream>
#include <shlobj.h>
#include <shlwapi.h>
#include <objbase.h>

using namespace std;

int main()
{
    LPCWSTR addr = L"mailto:john@mycompany.com?CC= boss@mycompany.com&Subject= ";
    //Meet for lunch&Body = ";
    //convert addr to wstring
    wstring myaddr(addr);
    wstring incident, second;
    wstring message;

    cout << "Enter the incident number: ";
    getline(wcin, incident);
    if (!wcin.good()) return 0;

    cout << "Enter a message below" << endl << endl;
    wcin >> message;

    //add incident to the subject line and add a blank body tag
    wstring concat = addr + incident + L"&Body= " + message;
    wcout << concat;
    system("pause");
    LPCWSTR finished = concat.c_str();
    ShellExecute(0, _T("open"), finished, NULL, NULL, SW_SHOWNORMAL);
    return 0;
}

The actual email template includes a table with several .jpg pictures. I found a library called magick++ but I don't see how I can use this to add a table and pictures into an html enabled email.

I'll back burner this project until I understand better how I can interface with Outlook. For now, the best I got is a MadLibs email.

kes166 37 Practically a Master Poster

I usually use Google to search for my tech answers; however, Daniweb was the very first tech website I visited many years ago so it's a first for me and like most firsts, you have to go back every once in a while to see how it's doing. Every time I decide to go back to get another degree to fluff my resume, I usually stop in here to see what everyone is doing and I find it helps me to read through other peoples posts and code on topics I'm working on which helps me improve myself by teaching others when possible.

Just a few thoughts:

My suggestion is to get on YouTube or other social media and provide tech or programming advice, quick five minute lessons, or other video's or posts on social media that link back to a post on Daniweb. It would put a voice and face to Daniweb and would generate some more traffic. Google crawls the web and websites with larger number of links would give Daniweb a higher preference with searches.

kes166 37 Practically a Master Poster

I got this to add a subject and some stuff in the body, I just need to figure out how to make it html and include jpg's and formated tables.

    LPCWSTR addr = L"mailto:john@mycompany.com?CC= boss@mycompany.com&Subject= Meet for lunch&Body= Please join me for a sandwich at noon.";
    ShellExecute(0, _T("open"), addr, NULL, NULL, SW_SHOWNORMAL);
kes166 37 Practically a Master Poster

I'm not sure why you are using char a =0, char b=0, etc, instead of int a = 0, int b = 0. I actually tried compiling that in visual studio and it threw compile errors.

To tinstaffl's point, you don't need to send a, b, c, and d. They are only used in for loops and you initialize them each time in each new function so change your calcit function to

void calcit(char[10][6], char[3][6])

The next thing I see is in the calcit function, you send candidate and target, but you do nothing with them. you are performing abs functions on the values of the for loops so you aren't actually doing anything with the values in the .txt file. You repeat the same process in all three loops hence you are getting the same value of 700 every time. This is essentially what your calcit function is doing:

#include "stdafx.h"
#include "iostream"
using namespace std;

int main()
{
    int a, b, c, d, score2 = 0;

    for (a = 0; a < 10; a++)
        for (b = 0; b < 6; b++)
            for (c = 1; c < 2; c++)
                for (d = 0; d < 6; d++)
                    score2 = score2 + abs(b - d);
    cout << score2 << endl;
    system("pause");
    return 0;
}

compile this and run it, you'll get the answer of 700. Let me know if you figure it out.

kes166 37 Practically a Master Poster

Good Evening,

I'm working on a program that will allow user input and will take that input, insert it into blank spots into an email template, and then prepopulate the email template in Outlook so all an analyst would need to do is click a the send button - basically a dummy proof program to send emails to customers.

Creating the interface and reading the information entered isn't an issue; however, I just figured out how to get an email to open but have no idea how to format the body. The below code I just happened upon at https://stackoverflow.com/questions/25189365/shellexecute-for-mailto-doesnt-work-with-google-chrome which managed to get the email to open as long as Outlook is already open. The problem is, I have no idea what the shellExecute line is or how to manipulate it to add user provided information into an outlook email template file. Does anyone know of any resources that are available that would provide information on chopping up an outlook template file and injecting data into the template?

Here's the code I have that opens a blank email:

#include "stdafx.h"
#include <iostream>
#include <shlobj.h>
#include <shlwapi.h>
#include <objbase.h>

int main()
{
    LPCTSTR addr = L"mailto:myaddress@gmail.com";
    ShellExecute(0, _T("open"), addr, NULL, NULL, SW_SHOWNORMAL);
    return 0;
}
kes166 37 Practically a Master Poster

Hello,

I've been working on learning VBScript to make a few useful scripts to work with WinNT and make a more user friendly interface when searching for users on a domain. While doing so, I discovered something interesting about arrays and I'm hoping someone could explain if it's just the way microsoft made VB or if it's something else.

If I decalre an Dim myArray(2), one would think valid subscripts would be myArray(0) and myArray(1), but it's not.

Dim myArray(2)
myArray(0) = "Hello"
myArray(1) = "World"
myArray(2) = " This should give an error"
WScript.echo myArray(0) & " " & myArray(1) & myArray(2)

I would expect the above code to give an error, but it doesn't and it runs perfectly. Does VB allocate an extra subscript to accomodate "making sense" or is that last subscript location used for something else?

kes166 37 Practically a Master Poster

Hey,

Just an update, there was a typo on the assignment.

The MAC address for computer A is 00-10-11-D8-6E-71
Computer B is 00-02-4A-5C-E1-C9

The put the MAC address on the assignment in the form of an IPv6 address :-/

They want me to make the rest of the IPv6 which is easy.

It suddenly makes sense.

kes166 37 Practically a Master Poster

So the network ID is clearly:
2005:7D:4500:C::/64
It states this.

If we assume it's EUI-48, that would make them
0010:11D8:6E71
0002:4A5C:E1C9
Respectivly to the first post

Since it does not contain FFFE or FFFF, it is not an EUI-48 mapped to an EUI-64; therfore, the entire EUI-48 does not need to be the interface ID. I think that's where I was getting stuck on assuming my logic on this is correct. The interface ID's are:
0000:0010:11D8:6E71
0000:0002:4A5C:E1C9

At least this is the answer I'm going with :)

Thanks,
Ken

kes166 37 Practically a Master Poster

Thanks I'll check it out

kes166 37 Practically a Master Poster

Unfortunatly, every source I've found, including the text, implies that FFFE will be in the address.

http://www.tcpipguide.com/free/t_IPv6InterfaceIdentifiersandPhysicalAddressMapping-2.htm

If it's assigned by a DHCP, it's not using the EUI standard - hence the question is bogus.

kes166 37 Practically a Master Poster

Good Morning,

As this is a homework question, I'm hoping for some guidance in the correct direction or a website. I was given an IPv6 address and I need to find the EUI portion of the address. And EUI is just the first 24 bits of a MAC address with the seventh bit flipped, followed by FFFE (16 bits), and the last 24 bits of the MAC address. Naturally, if you see FFFE in the address anywhere, it's an EUI address.

These are the IPv6 addresses:
2005:007D:4500:000C:0000:0010:11D8:6E71
2005:007D:4500:000C:0000:0002:4A5C:E1C9

The prefix is 2005:7D:4500:C::/64

FFFE isn't in either of them. Did I completly miss something regarding EUI addressing? I did reach out to the professor as it's an online course but I wanted to see if anyone here can identify if something is off with this or if I'm just compleltly missing something. I don't think 0000:0002:4A5C:E1C9 is a valid EUI.

Regards,
Ken

kes166 37 Practically a Master Poster

I know what the modes are - I just don't see the point in what seems like redundancy.

Switchport mode trunk – forces the interface to become a trunk and negotiation will occur to confirm match with the connecting device.
Switchport mode nonegotiate – DTP is disabled on the interface. This can prevent useless network communication on access ports.
Switchport mode dynamic desirable – asks the connecting device on the port using DTP if it wants to trunk. If it doesn’t, the port becomes an access port.
Switchport mode dynamic auto – if a device asks this port to become a trunk, it will become a trunk. It will not ask other devices to trunk and will function as an access port until asked to trunk.
Switchport mode access – this port will never trunk. DTP will be sent out to the connecting device to make them aware of this.

If it's an access, then do switchport mode access. If it's a trunk, do switchport mode trunk. Why waste time with the other ones other than maybe switchport mode nonegotiate to shut off DTP if it's an access port?

kes166 37 Practically a Master Poster

Good Afternoon,

I've been studying communications between switches and it seems relativly easy to understand with the exception of why they have so many modes. There's trunk, nonegotiate, dynamic desirable, dynamic auto, and access. (I think that's all of them). In addition to this, some switches can choose between dot1q or ISL encapsulation. So what's the purpose of all the different modes?

If the port is a trunk, set it as a trunk. If the port is access, set it to access. Is there benefits to using dynamic desirable or dynamic auto?

kes166 37 Practically a Master Poster

So here's what I've got for the router - it seemed to work without giving any errors. I'll just need to check to see what the switch configuration needs to be and then test end to end connectivity between the work stations when done. I think this configuration script matches the router in the diagram.

Router>enable
Router#configure terminal
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)#hostname router1
router1(config)#enable secret class
router1(config)#line console 0
router1(config-line)#password cisco
router1(config-line)#login
router1(config-line)#exit
router1(config)#line vty 0 4
router1(config-line)#password cisco
router1(config-line)#login
router1(config-line)#exit
router1(config)#service password-encryption
router1(config)#exit
router1#copy running-config startup-config
Destination filename [startup-config]? 
Building configuration...
[OK]
router1#show run
Building configuration...
Current configuration : 1308 bytes
[…  additional lines removed …  ]
line con 0
 password 7 070C285F4D06
 login
line aux 0
line 2
 no activation-character
 no exec
 transport preferred none
 transport output lat pad telnet rlogin lapb-ta mop udptn v120 ssh
 stopbits 1
line vty 0 4
 password 7 0822455D0A16
 login
 transport input all
!
scheduler allocate 20000 1000
!
end       
router1#configure terminal
router1(config)#interface gigabitethernet 0/0
router1(config-if)#ip address 192.168.1.1 255.255.255.224
router1(config-if)#description switch1
router1(config-if)#no shutdown
router1(config-if)#
*Dec  3 00:54:05.187: %LINK-3-
UPDOWN: Interface GigabitEthernet0/0, changed state to down
router1(config-if)#exit
router1(config)#interface gigabitethernet 0/1
router1(config-if)#ip address 192.168.1.33 255.255.255.224
router1(config-if)#description switch2
router1(config-if)#no shutdown
router1(config-if)#
*Dec  3 01:03:24.243: %LINK-3-UPDOWN: Interface GigabitEthernet0/1, changed state to down
router1(config-if)#
*Dec  3 01:03:27.543: %LINK-3-UPDOWN: Interface GigabitEthernet0/1, changed state to up
*Dec  3 01:03:28.543: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/1, changed state to up
router1(config-if)#exit
router1#copy startup-config running-config
Destination filename [running-config]? 
1308 bytes copied in 0.128 secs (10219 …
kes166 37 Practically a Master Poster

Yes, so the entire network will be 192.168.1.0

The router will be split into eight subnets
192.168.1.0/27
192.168.1.32/27
192.168.1.64/27
192.168.1.96/27
192.168.1.128/27
192.168.1.160/27
192.168.1.192/27
192.168.1.224/27

The first two subnets will be used, the remaining will be reserved for whatever we may need them for in the future. So the network will look like this:
Network Diagram

What's the IP address of the router? Is the default gateway different for each switch? And what does the configuration script look like?
Is Router(config-if)# ip address 192.168.1.2 255.255.255.224 *correct or is it *Router(config-if)# ip address 192.168.1.1 255.255.255.224 for subnet 1?

Lets say that we use 192.168.1.2 255.255.255.224 - what is the default gateway? That's where I'm getting stuck.

kes166 37 Practically a Master Poster

mcglk,

Thanks, so if I'm understanding correctly, the network is 192.168.1.0 and the router ip is 192.168.1.1 which is also the default gateway.

So when I configure the first g0/0 port on the router, it will be

Router(config-if)# ip address 192.168.1.2 255.255.255.224

The subnet address for this range is 192.168.1.2
The host range is 192.168.1.3 - 192.168.1.32
The directed broadcast is 192.168.1.33

This leaves my next range of addresses to start at 34 or exactly 2+32.

Does this look correct?

Edit: I think what I'm having difficulty grasping is exactly what the command on the router does to configure the ports on the router.
To make this easier, if I use Router(config-if)# ip address 192.168.1.32 255.255.255.224
Does this make the subnet for this range 192.168.1.32 and the directed broadcast 192.168.1.63?
If dealing with the Subnet 0 range, or the 0-32 range, wouldn't the subnet need to be shifted to start at .2 to account for the .0 network reserved address and the .1 default gateway address?

kes166 37 Practically a Master Poster

Good Evening,

I just can't seem to wrap my head around this IP addressing.

Lets say I want to use 192.168.1.0 default gateway.
Then
Router IP Address = 192.168.1.0

Lets say my subnet mask is 255.255.255.224 = 32 IP addresses and 30 hosts.
That makes my first line out g0/0 from the router to switch1
ip address 192.168.1.1 255.255.255.224

That gives me a network address of 192.168.1.1
Host range of 192.168.1.2 - 192.168.1.31
A broadcast address of 192.168.1.32

Lets make G0/1 from router to switch2
ip address 192.168.1.33 255.255.255.224
That gives me a network address of 192.168.1.33
a host range from 192.168.1.34 - 192.168.1.63
and a broadcast range on 192.168.1.64

The IP address of the router is 192.168.1.0
The IP address of switch 1 is 192.168.1.1
The IP address of switch 2 is 192.168.1.33

So why doesn't this look right? I can't quite figure it out.

kes166 37 Practically a Master Poster

Cimmerian,

I'm not sure I understand your question. The router would receive 254 usable IP addresses. The subnet on the router is 255.255.255.0. The router then assigns a subnet of 255.255.255.224 on G0/1, a subnet of 255.255.255.224 on G0/2, and a subnet of 255.255.255.224 on G0/3 effectivly giving each switch 30 IP addresses to play with.

I'm just not certain which IP addresses the switches each get or if it even matters.

Edit:
Specifically, this is the command used to assign subnets to a layer 2 switch from the router Gigabit Ethernet:

R1 (config) #interface gigabitethernet 0/1
R1 (config-if) #ip address 192.168.1.1 255.255.255.224
R1 (config-if) #exit
R1 (config) #interface gigibitethernet 0/2
R1 (config-if) #ip address 192.168.1.33 255.255.255.224
R1 (config-if) #exit
R1 (config) #interface gigibitethernet 0/2
R1 (config-if) #ip address 192.168.1.66 255.255.255.224

I may have just answered my own question here in looking up the above commands.

kes166 37 Practically a Master Poster

Good Evening,

I hope everyone is doing well this evening. Regarding the subject of subnetting in a LAN, please bear with me as I try to quantify the question in which I have. While the question did spawn from a homework assignment that I am attempting to complete for a project, it's not really the project per se but more of a query which spawned from the creation of a small network LAN diagram that I created which consists of a router, two switches, and two work stations for the assignment.

Assuming that the subnet on the router is 255.255.255.0, that will allow for 254 devices and the IP address of the router, or default gateway, is 192.168.1.1.
Now lets assume there are three switches and each switch needs 30 IP addresses. The subnet mask on each of these switches can be configured to a mask of 255.255.255.224.

My question is: how are the IP addresses split up?

Obviously, since the mask on the router only allows for 254 devices, we can't have more than that in total on the LAN. If we are giving 31 IP addresses to switch one, 31 IP addresses to switch two, and 31 IP addresses to switch three, do the need to be divided up in a certain way?
For example:
Switch 1: contains 192.168.1.2 through 192.168.1.33
Switch 2: contains 192.168.1.34 through 192.168.1.65
Switch 3: contains 192.168.1.66 through 192.168.1.97

Do the IP addresses need to be configured in a specific way such …

kes166 37 Practically a Master Poster

Well, I answered my own question. In short, it defrags the boot sectors only to increase boot speed. I have no idea if it's really worth in but that's what it does.

In case anyone is curious to the longer answer:

It turns out if I go to disk defragmentor and click on configure schedule, it's marked to run at a particular time, in my case every Wednesday. Digging a little deeper, I found that windows does indeed see it's a SSD and defrags only the boot sector and stores what was done in c:\windows\prefetch folder. The last time this was ran can also be found in the registry key HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Prefetcher\LastDiskLayoutTimeString

which coinsides with the time in the latest run in the event viewer log.

There's more info on this at http://www.autoitconsulting.com/site/performance/windows-7-self-optimizing-boot-process/ but it doesn't explain if it's for an SSD, a HHD, or both.

kes166 37 Practically a Master Poster

Hello,

There is a service that is running in services.msc called Disk Defragmenter with a description "Provide Disk Defragment capabilities." If I look in msconfig under services, it's also listed in there with a check mark in the box.

Now if I look in the Event Viewer in Windows Log > Application and scroll through it, there are several events listed as Defrag (Screenshot attached). Now it doesn't appear that these are complete disk defrags; however, this laptop is a SSD and doing a disk defrag is pointless not to mention it can actually harm the hard drive.

Does anyone have any idea what this event is doing when it runs or boots? I've looked to see what the service actually does but can't find anything other than it allows defrag to run.

kes166 37 Practically a Master Poster

They aren't disabled via policy; if they were, I'd get 1700 calls in one day asking why they can't connect wirelessly, There's various ways for windows 7 to automatically disable the adapters without admin privileges. I'm just trying to figure out if there's a way to enable them without admin privileges.

kes166 37 Practically a Master Poster

The laptops are on a domain with network policies. The wireless adapters are local hardware. It doesn't happen all that often, but being able to fix it without needing elevation would save some time.

I don't have access to changing policies though from where my job currently resides.

kes166 37 Practically a Master Poster

Operating System: Windows 7 Enterprise 32 bit

For whatever reason, the wireless adapter on several laptops become disabled (by something other than the hard switch). It's either the powersettings shutting them off, code turning them off if the laptop is hardwired, or some other reason.

The problem I'm trying to address is how to enable the adapter if the person using the laptop is a standard user and the laptop has UAC turned on. Enabling it by right clicking on the disabled network adapter and selecting enable won't work because it require elevation. Likewise, going to the device manager won't work either because that will also require elevation.

Is there some way to trick windows 7 to turn the wireless adapter back on?

Right now the only way to fix it is to get a hardwire connection and remote into the laptops and use the local administrative credentials to activate them. Short of giving them the administrative credentials, I can't think of a way to accomplish this.

kes166 37 Practically a Master Poster

I've encountered this several times, it may be a windows compatibility issue. in additaion to clearing cache/history, click on tools and select compatibility view settings. make sure nothing has a check mark next to it and there are no websites in the list. Click OK and reboot the computer.

kes166 37 Practically a Master Poster

what is the name when running ping -a <ipofhcserv01>? If it's something other than the computer name, the DNS may not be updated. Likewise, what happens when you ping the FQDN? It can be updated by running ipconfig /registerdns from hcserv01 and checking the event log for errors and try again.

kes166 37 Practically a Master Poster

I've figured this out for whoever cares to read this. I made a mistake, MaxFileSize refers to an ANSI format. 7bb04400 - 2075149312 is measured in bytes and is 2gb. It's for a standard before outlook 2003.

The MaxLargeFileSize is the DWord that uses UNICODE and is default of 00005000 which is hex for 20gig.
If we change that to 00007800 it will equal 30720 which is measured in megabytes which will equal 30gig.

So basically,

Quoted Text Here

In the following table, the MaxLargeFileSize registry entry and the WarnLargeFileSize registry entry refer to a UNICODE formatted (new Large format) file, and the MaxFileSize registry entry and the WarnFileSize registry entry refer to an ANSI formatted (an earlier Microsoft Outlook format) file. The UNICODE values are set in megabyte (MB) increments, while the ANSI values are set in byte increments

kes166 37 Practically a Master Poster

My question revolves around increasing the maximum mailbox size in outlook and what the dword values represent in the registry.

I recenetly encounted a problem where someone I support reached a 20gig mailbox size in outlook 2007 which is the maximum default size in outlook. The exchange server has an unlimited size limit; however the local machine imposes a 20gig limit. I was easily enough able to go into the registry, create the PST key in HKCU\Software\Microsoft\Office\12.0\Outlook and created the 4 dwords, MaxFilesSize which I set to 30 gig (I think), MaxLargeFileSize I left the same, WarnFileSize set to 29 gig (I think), and WarnLargeFileSize I left the same.

What I can't figure out is what the values mean. According to a Microsoft, http://support.microsoft.com/kb/832925, , The defaut size is 7bb04400.
****before going to that link, just an FYI, part of it is wrong. What microsoft has listed as MaxLargeFileSize and MaxFileSize, the values should be reversed. MaxFileSize is defauted at 20gig, not 2gig.****

So 7bb04400 = 2075149312 is the decimal representation of 20gig in the registry.

What I'm having problems understanding is the decimal representation of 20gig. Is that 207,519,312 bytes or 207,519,312 kilobytes or something completly different?

If I put that number into a byte to gigabyte converter, it comes out as 2 gig. If I do a kilobyte to byte conversion, it comes out as 2000 gig, or 2 terabytes. I have no idea how the dword registry calculates how large to make the outlook mailbox.

kes166 37 Practically a Master Poster

I'm not having a problem per se, but I'm trying to find out why something I use to troubleshoot connectivity problems work.

I deal with laptops that connect to a VPN using a software called Cisco AnyConnect VPN Client. In order to connect to these servers, the person connecting first needs to connect to the Internet and then connect to the VPN.

Quite often, a problem occurs with the connection where when they connect to the internet, websites load extremly slow and the servers aren't found to connect to when the VPN software is opened.

It's not just any website that loads slowly, it's every website and behaves as if there's a proxy set (there isn't in ie options). It loads slowly but eventually loads. My assumption is the same thing that's affecting the ie browser is also affecting the server ip addresses and somehow is being translated incorrectly.

To fix it, I disconnect them from the internet and from the command prompt have them type in ipconfig /flushdns then turn the modem and router back on.

What I'm confused about is why does this work. Generally, rebooting the laptop has the same effect as doing an ipconfig /flushdns, or so I was told but this doesn't seem to be the case. Simply rebooting the machine doesn't resolve the issue. That command must be done or it doesn't work.

If I type in ipconfig /displaydns after a reboot, there's still information there. So does …

kes166 37 Practically a Master Poster

I'm not sure what brand computer it is so I can't guide you to any links.

However, you may want to consider going to whichever website is associated to the model of the computer (ie. hp is www.hp.com) and look for a graphics device driver.

After the driver is downloaded, boot the computer into safe mode and uninstall the driver completly so it's using a generic windows driver. After it's uninstalled, reboot the computer normally and see if it boots up.

If it boots up, run the driver update and update the driver. Reboot and hopefully it shoud be fixed.

If after uninstalling the driver in safe mode and booting up to normal with a generic driver, the problem is the video card and is most likly hardware related. Try getting another video card and see if the same thing happens.

kes166 37 Practically a Master Poster

what's the name of the display device in device manager?
what brand computer? hp, dell, gateway, etc?

kes166 37 Practically a Master Poster

You can try running internet explorer with no add ons to see if it's something that ie is using. It's under start > accessories > system tools.

You can also try uninstalling ie and reinstalling using windows update but I don't remember where to click in xp without seeing it.

Edit: IE 8 is under add/remove programs in my XP VM, check there. If it's IE9, you may need to check the show updates check box.

kes166 37 Practically a Master Poster

Hey swiftech, the changing the DNS address also didn't help. I have a GLB-502T router and it working fine. When i pinged www.facebook.com there was no loss either. This means that the problem with not with the router as well (I guess :-/). The firewall is also off. I cant understand what the problem is. Somebody please help. :icon_cry:

It's a browser issue. Are you using ie? try deleting the cache/cookies/history of the browser.

If that doesn't work, reset the browser back to default under the advanced tab and delete personal settings.

kes166 37 Practically a Master Poster

Might want to check out this website

http://delphi.wikia.com/wiki/Good_Quality_Applications_Built_With_Delphi

It looks like there may be some programs there that would be able to make flow charts.

kes166 37 Practically a Master Poster

If you are able to get into the windows login screen and see the windows logo, there's no way that I know of to crack the password to log into windows.

If it's a BIOS password that has been set, open up the laptop and look for a circular battery. It's called the CMOS and is in fact a battery. Remove that battery for a minute then put it back in. Turn the laptop on and the BIOS password should be clear.

kes166 37 Practically a Master Poster

It needs to be plugged into a tower. I wouldn't recommend opening a laptop either.

If you are unsure on how to plug the hard drive into a tower, you can probaby get it done for a hundred bucks at a tech store, best buy, or some other place and have the data placed on some other form of media. A Jump drive or a few DVD's.

If, however, the drive is shot, you're looking at a couple thousand bucks for a data recovery group to try and recover data from the drive. With a litte luck, hopefully it's only the seagate frame and not the drive itself.

kes166 37 Practically a Master Poster

I've never seen a seagate external drive, but ideally external drives should have screws that you can remove to take it apart. Inside will be the hard drive. It'll either be an IDE or a Sata hard drive. You'll need to plug it into your computer's power supply and mother board in order to read it.

Without actually being able to see what the inside drive looks like, I can't give much more information than that.

kes166 37 Practically a Master Poster

The first number will always be unique. Assign number to another value which should be your array, array[0] = number then the next random number you create, compare it to array[0]. If they are equal, make another random number until it doesn't equal array[0] then put it in array[1]. The third value you create you will need to compare to the first and second.

kes166 37 Practically a Master Poster

I'm currently experiencing the exact same problem with a different model laptop. I believe it may have something to do with the BIOS. I don't know the exact model of the laptop you have so I can't direct you as to what file you'll need specifically, but check the dell website for a BIOS upgrade for the fingerprint reader. Is this by chance the AES2810?

Check device manager and see if Biometric Devices is in there.

kes166 37 Practically a Master Poster

A jump drive or shared network drive. There are also websites that will allow you to accomplish this. Google Transfer Files.

kes166 37 Practically a Master Poster

Hi Rodney,

Thanks for the reply. I understand what you mean but I have 2 networks. And I know something's wrong with my settings and it may have something to do with ZoneAlarm or my cards config and I don't know how to go about it.

In ZA's Zones, I have two Trusted IP Addresses listed as DHCP Servers
192.168.1.1 (Router 1) and 10.0.0.1 (Router 2)

and two Trusted Networks listed
192.168.1.0/255.255.255.0 (on Router 1) and 10.0.0.0/255.255.255.0 (on Router 2 with wireless disabled)

On my laptop in question (Acer Aspire One)
Ethernet is configured as:
DHCP Disabled, 10.0.0.3/255.255.255.0, Gateway 10.0.0.1, DNS 10.0.0.1

and Wireless is "manually: configured as:
192.168.1.49/255.255.255.0, Gateway 192.168.1.1, DNS 192.168.1.1, WINS is blank

if I enable DHCP config, it looks like this:
DHCP & Autoconfig Enabled, 192.168.1.3/255.255.255.0, Gateway/DHCP/DNS Servers 192.168.1.1

I can only connect to the internet via LAN (on Router 2) even if both Network Status shows "Connected".

On my son's laptop (an old Gateway), he can connect wirelessly (on Router 1) and via LAN (on Router 2) with the LAN taking precedence. His card config is the same except for the assigned IPs for the LAN and WAN. But I blocked his LAN service to protect/secure my own laptop behind it.

I'm a bit confused. What could be wrong with my Acer?

Again thanks in advance.

CMaker3

The …

kes166 37 Practically a Master Poster

In your main, you are assigning decimal values to an int value. Is that intentional?

line 13:

int next;

line 34:

while(in_stream >> next)

line 36:

Num[count]=next;

That's going to cause all of your data to be 1's. With that in mind, puting that information into the function line 58, sum will be 10, average will be 1 on line 61.


Line 66:

s =pow((Num[i]-average),2);

Since all values Num[0] through Num[9] is 1, that function is pow(1-1,2) which equals 0 which in turn sets sum = to 0.

so line 71 is outputting the square root of 0/10 which is 0.

kes166 37 Practically a Master Poster

Hi Daniwebbers!

I'm trying to copy a file from a network location to a local file folder on a laptop. The following script will work to put the file into the documents folder of the users profile.

xcopy /y /d "\\networkaddress\tablet config.exe" "c:\users\%username%\documents\"

That will put the file tablet config.exe into the documents folder. The problem is I want it in c:\programdata\microsoft\windows\start menu\programs so when you go to the start menu and type in tabet config it appears under programs, not documents.

When I change the destination to that, it doesn't work. The file doesn't go anywhere. The only thing I can think of is because it requires elevation to copy files to that folder and I'm not sure how to make it work.

Does anyone know how to make a file copy to c:\programdata\microsoft\windows\start menu\programs using a script?

kes166 37 Practically a Master Poster

I have a spreadsheet for each month of 2010 (Jan-Dec) that is used to track church members donations by month. Under each month I have the last name, first name and weekly donation with the monthly donation total at the end of the row.

I would like to output on one page each person's name and monthly contributions and yearly total and disseminate to each member.

Anyone have an idea on how I could do this as 'automagically' as possible? Formulas, a form, I am puzzled on how to accomplish this short of a huge copy and paste operation.

Thanks all.
Mark

are you using excel 2007?