MikeCad's Q&A profile
SQL Server Question on port 1433 on a remote server
Hi,I am using a remote sql server 2005 install. Our application connects directly to the dB from a desktop application and a mobile application.I was just wondering what the best way to secure this connection. Everytime we want to do a demo for a potential client we have to allow a new IP to access port 1433 in order to connect to the database. This is becoming very expensive for us. Does anyone have an idea of how we can both secure the connect ...Show All
Visual Studio Express Editions VC++ Express Win32 Application without Platform SDK
Good afternoon... When I select New Project in VC++ Express I given a template choice of Win32 Console Application. My question is, what is a Win32 Console application without the Platform SDK installed Is this just a Standard C/C++ library application If not, what is it Thanks Yes is it just a standard C/C++ library application. No win API programming unless you download the PSDK separatly. Thanks, Ayman Shoukry &nb ...Show All
Windows Forms Publish Application Files
I have an application that has 3 template files as part of the deployment package, and the user has the option to customize these files. If they do customize the files and a new version of the program is available, the customized files are overwritten by the stock templates when they update the program. How can I have the template files installed on new installs, but not on updates Thanks, Frank Use dat ...Show All
Visual Studio 2008 (Pre-release) Create a simple text editor using Expression Interactive Designer
http://spaces.msn.com/viliescu/blog/cns!A7CD34FAB0459777!251.entry Nice, you shot the gun a little bit early than me:-) I also plan to write a text editor as my next agenda, I want to add syntax highlighting, numbering, folding and unfolding capabilities to my text editor. Sheva ...Show All
Visual Studio Team System How to put the code in a team project?
Hello. I created a team foundation proyect. I see many things there, work items, documents, reports, build. but I dont see the code. I created a website , how can I associate the website proyect to the team foundation proyect Why I cant create bugs it doesnt let me write on the title field. Well... if it makes you feel any better, you're not the only one who has had trouble discovering where it is. Some tip ...Show All
.NET Development How to manage multiple database at remote locations?
HI All, How to manage multiple databases at remote locations for single web application which is made in Asp.Net 2.0 one way is Make one database as master database and put all other database information into that master database. Is ther any other way for that Thanking you David Hi, Thanx this one is realy helpfull to me. One more question regarding it. Suppose i had two differnt table In one table let ...Show All
Windows Forms Ambient Properties Question
I'm trying to make a property of my control act just like BackColor does. Here's the code that I have that's not quite working. Private _AlternateBackColor As Color = Color.FromKnownColor(KnownColor.Control) <Category("Appearance"), AmbientValue(GetType(KnownColor), "Control")>&nbs ...Show All
Visual J# Pet peeve of the day
Hi; I just spent about an hour in another place having to work around the fact that J# does not support vary many encodings - in String, Readers/Writers, etc. And what is really annoying is that .NET has this support and the J# team is in India so they are aware that the world uses languages other than English. I wish they had fully implemented this. - dave Hi, This is what our Program Manager Pratap Lakshman has to say on this iss ...Show All
System Center Future application support
Can anyone tell me whether there is a roadmap for support of further applications by SCCP As I have asked in another post - when can we expect the SDK Regards, Paul Paul hi, We are currently planning the next release of SCCP. We are in the process of specifying possible new workload support and the availability of the SDK. Most likely an announcement about the next release of SCCP will be made at the Mi ...Show All
Visual Studio Express Editions Invalid attempt to NextResult when reader is closed
Here is the function for refreshing form data i call it in form load and after i save the data i call in form load without any error but i call this function after i save data i have the subject expcetion "Invalid attempt to NextResult when reader is closed " HELP..... Private Sub RefreshData() 'Refresh Data Try If cnAlfol.State <> ConnectionState.Open Then cnAlfol.ConnectionString = cnSt ...Show All
Visual Basic Call
Hi, I have a question. Wich is the performance difference between using the word 'call' for calling a sub and just use the name of the sub. Hi, There is no performance difference. I think this statement is still being retained since VB has evolved over the years and it is required for compatibility in case of upgrades and VB.NET/VB2005 do not really need it as such. Here is the definition from MSDN anyways: "You are not required to use the ...Show All
Visual Basic AND ONCE AGAIN, ANOTHER NEW QUESTION
How do I create a grid of pictureboxes (25 x 25) on Visual Basic 2005 and auto-name them pbx(row)_(column) for the picture boxes It is to slow and hard to manually rename all 625 of them. Ok question answered, thanks. New question: OK, I ran into another problem. I want it be so that if I click the picture box with the person in it, you can move him by clicking on another tile. How do I do this (I tried (got from Dustin_H 's sample code) : ...Show All
Visual Studio Express Editions value from txtBox
Hi all, In the new version this code variablename = me.txtboxname.value or variablename = Val(me.txtboxname.values) don`t wrk it. Is there a another option to read values (numbers) in vb express or i can`t use it in vb express cheers, spike thx for fast reply. buit i will to take numbers as values. in older version if i type variablename = txtboxname.text wasn’t same like variable ...Show All
Visual Studio Express Editions VB Express code documentation generation?
After adding inline code documentation using the vbcommenter style tags, how do I generate the xml documentation files I can't find the switch anywhere in the options. Is there a tool that allows me to create these documentation files for future use in ndoc. Are you sure you 're talking about vb EXPRESS There is no Build-tab on the project properties, the ones available are: Application, Compile, Deb ...Show All
Visual C++ How to override basic_streambuf::seekoff?
I am trying to implement the method pos_type seekoff(off_type, ios_base::seekdir, ios_base::openmode) in my buffer. I have two important questions: What should the seekoff method return when it moves both pointers at once What should the seekoff method do when it fails Is it required to leave the buffer intact, or is it undefined behaviour I recommend you to use the STL forum here: http://msdn.microsoft.com/newsgroups/default.asp ...Show All
