Search Results

Search found 15 results on 1 pages for 'maestro1024'.

Page 1/1 | 1 

  • Programmatically get the WLAN config of a machine and use netsh to setup new profile

    - by Maestro1024
    How can I programmatically get the wireless LAN configuration of a machine and use netsh to setup new profile? I am having trouble getting the netsh command to set the ssid of a new card. I installed the drivers and plugged it in. I see in ipconfig it says the "media is disconnected" (fair enough). I then send the following command netsh wlan connect name=profile1 ssid=myNetwork interface="Wireless Network Connection 2" problem is I get an error "There is no profile "profile1" assigned to the specified interface. What is a profile for a wireless card? What should I set it to? How can I get my SSID set and connected for the card?

    Read the article

  • What is easiest no fail way to publish asp.net app?

    - by Maestro1024
    What is easiest no fail way to publish asp.net app? Sorry a bit of an open ended question but I am having issues deploying an asp.net report project and any solution to get the site up is fine. I am running Win7/SQL 2008 and want to publish a asp.net report site that I created in VS 2008. Website launches when I run in debug in Visual studio but I want to publish the site so that it can be seen on the LAN. I published the files off to a folder and started up the IIS manager and added a new site and pointed to that folder. Set the permission on the folder to share to everyone. However when I go to the DNS name I put in for the website it does not launch. Any ideas on this? I see websites out there talking about a web sharing tab on the folder properties but I do not see that when I go to folders. Why might that be? Another avenue I have not pursued yet is publishing directly to a website. Has anyone tried that? Is that better or worse than publishing to filesystem?

    Read the article

  • Can I run 64-bit VM guests on a 32-bit host?

    - by Maestro1024
    Can I run 64-bit VM guests on a 32-bit host? If I have a physical PC with 32 bit can I launch a VM that is 64 bit? What virtual machine software (Virtual PC or VirtualBox or other) would allow this? I read out there that VMware may support this but I am looking for something Open source or free. Host would preferably be a Windows host but could be Linux. Guest needs to be Windows. Thanks

    Read the article

  • Programtically get the Wireless lan config of a machine and use netsh to setup new profile

    - by Maestro1024
    Programtically get the Wireless lan config of a machine and use netsh to setup new profile I am having trouble getting the netsh command to set the ssid of a new card. I installed the drivers and plugged it in. I see in ipconfig it says the "media is disconnected" (fair enough). I then send the following command netsh wlan connect name=profile1 ssid=myNetwork interface="Wireless Network Connection 2" problem is I get an error "There is no profile "profile1" assigned to the specified interface. What is a profile for a wireless card? What should I set it to? How Can I get my SSID set and connected for the card.

    Read the article

  • Rolling comments inside a log4net file

    - by Maestro1024
    Rolling comments inside a log4net file Is it possible to roll the data inside the log file? So I have an xml config file like <log4net> <appender name="LogFileAppender" type="log4net.Appender.RollingFileAppender"> <layout type="log4net.Layout.PatternLayout"> <ConversionPattern value="%d{yyyy-MM-dd hh:mm:ss} – %-5p: %m%n" /> </layout> <param name="File" value="c:\log.txt" /> <param name="AppendToFile" value="true" /> <rollingStyle value="Size" /> <maxSizeRollBackups value="1" /> <maximumFileSize value="5MB" /> <staticLogFileName value="false" /> </appender> <root> <level value="DEBUG" /> <appender-ref ref="LogFileAppender" /> </root> </log4net> What I want is to have a 5MB file that when it gets to the end will pull off the first line of the file and then add a new line at the end. Is that possible (I do not see it in the documentation)?

    Read the article

  • How to ignore blank elements in linq query

    - by Maestro1024
    How to ignore blank elements in linq query I have a linq query var usersInDatabase = from user in licenseUserTable where user.FirstName == first_name && user.LastName == last_name select user; But if I get here and first_name or last_name is blank then I want to still evaluate the other data item.

    Read the article

  • Getting multiple data items in an element with linq to xml

    - by Maestro1024
    Getting multiple data items in an element with linq to xml I have an xml file like this <TopLevel> <Inside> Jibba </Inside> <Inside> Jabba </Inside> </TopLevel> I was given said xml and and want to get all the elements. Here is the code I have. var q = from c in loaded.Descendants("TopLevel") select (XElement)c.Element("Inside"); I tried c.Elements but that did not work. What do I need to do to get all of the internal elements? This code just gets the first "Inside" tag.

    Read the article

  • uploading multiple files from client to server with asp.net

    - by Maestro1024
    uploading multiple files from client to server with asp.net I have been looking at the asp.net upload control but that is for one file (unless someone knows a better way to do it). http://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.fileupload.aspx For what I want to do I don't even really need a browse. I know the files off of the client are at a certain location. Is it possible to create a collection of *HttpPostedFile*s and upload those? http://msdn.microsoft.com/en-us/library/system.web.httppostedfile.aspx I don't think it is possible but would be glad to be proven wrong. Is there a different asp.net method or control that will easily allow uploading multiple files from client to server?

    Read the article

  • Linking to external file in Ruby on Rails

    - by Maestro1024
    Linking to external file in Ruby on Rails I have a file I want to share as a link in my rails app. I create a link to it in the .erb file like this <li><a href="somefile.pdf">Some File</a> </li> When I select the link I get the following error. Routing Error No route matches "/pages/somefile.pdf" with {:method=:get} Do I really need a route for this? I really just want the save as dialog to popup. Just a link to a file that the user can open or download. What is the rails way to do this (rails newbie here)?

    Read the article

  • Best practices or tools for installing a MS SQL database

    - by Maestro1024
    Best practices or tools for installing a MS SQL database I have a MS SQL database designed with the MS SQL GUI database editor/Visual Studio. What is the best way to "install" that database on other systems. Said another way how should I ship this thing? I know I can save the scripts and set the primary/foreign keys with T-SQL but I suspect their is something better. I guess you could have people restore from backup but that does not seem very professional. What other choices are there and what are the pluses and minuses?

    Read the article

  • Best practices or tools for installing a SQL Server database

    - by Maestro1024
    Best practices or tools for installing a SQL Server database I have a SQL Server database designed with the SQL Server GUI database editor/Visual Studio. What is the best way to "install" that database on other systems. Said another way how should I ship this thing? I know I can save the scripts and set the primary/foreign keys with T-SQL but I suspect their is something better. I guess you could have people restore from backup but that does not seem very professional. What other choices are there and what are the pluses and minuses?

    Read the article

  • Get data from html form to ruby in Ruby on Rails

    - by Maestro1024
    Get data from html form to ruby in Ruby on Rails I have some html like this <html> <h1>Text to PDF</h1> <textarea name="comments" cols="40" rows="5"> Enter your Text here... </textarea><br> <input type="submit" value="Submit" /> </form> </body> </html> I want to give the value of the text into the controller for this page/view. How do I do this with rails? I am new to rails, what is the mechanism for this? I don't need to write to the database just want to hand it to the controller. If there is a good tutorial for this sort of thing that would be great, I am not convince I am approaching this correctly.

    Read the article

  • getting values by time difference in SQL

    - by Maestro1024
    I want to get the difference of two values within a time frame. so I have a table like this Data Table TimeStamp DataValue 2010-06-01 21 2010-06-03 33 2010-06-05 44 So I want to first get all data over the last month which I can do with something like. ([TimeStamp] < GETDATE()-0 and ([TimeStamp] > GETDATE()-31) But I want to see how much value added on over the course of the month. So it started at 21 and went to 44. So I would expect this example to to return 23 (as in 44-21). How would I build a query like this?

    Read the article

  • What are supported clients for an asp.net webpage?

    - by Maestro1024
    What are supported clients for an asp.net web page? I am trying to document an asp.net website and I am unsure what I should say as far as client support. Are there limitations for asp.net as far as browsers? I have used IE and Firefox does it not work with some of the other browsers (chrome or safari)? Should I say the client is limited to any specific OS (I would expect it to work with a Mac or a Linux box)?

    Read the article

1