tlbimp.exe generated assembly fails to be registered using regasm.exe
◷
تاریخ انتشار: 1395/4/25 | ساعت: 1:10
Vote count: 0 I have a native COM dll that I want to build a C# interop assembly for. I'm attempting to do this using tlbimp.exe to generate the c# assembly, and I then regasm.exe to register the assembly for transparent use via COM in another program. I'm delay signing since I'm still in a developm...
Java Null Exception (Inputted Text)
◷
تاریخ انتشار: 1395/4/25 | ساعت: 1:10
Vote count: 211 What are Null Pointer Exceptions (java.lang.NullPointerException) and what causes them? What methods/tools can be used to determine the cause so that you stop the exception from causing the program to terminate prematurely? edited May 26 at 16:15TheLostMind♦ asked Oct 20 '08 at 13:18...
Aligning content with background-image
◷
تاریخ انتشار: 1395/4/25 | ساعت: 1:10
Vote count: 1 I have this picture I want to make a webpage with: the included html and css have it so that the page looks like this when I view it on firefox full screen: Which is just what I want - but I can't figure out a combination of button position and background-image-size that make it so whe...
vagrant ssh executable not found
◷
تاریخ انتشار: 1395/4/25 | ساعت: 0:01
Vote count: 0 I'm following Laravel Homestead tutorial and When trying to vagrant ssh I get the following output: `ssh` executable not found in any directories in the %PATH% variable. Is an SSH client installed? Try installing Cygwin, MinGW or Git, all of which contain an SSH client. Or use your fav...
Getting GBs of PHP warnings on my error_log
◷
تاریخ انتشار: 1395/4/25 | ساعت: 0:01
Vote count: 0 The lines of code that gives me errors are: while (!feof($handle)) { $conteudo .= fread($handle, 1024); } The error is: [14-Jul-2016 16:39:42 UTC] PHP Wa ing: feof() expects parameter 1 to be resource, boolean given in /home/brazpayc/public_html/wp-content/themes/brazpay/page-42.php on...
jQuery only selects the first group of select elements
◷
تاریخ انتشار: 1395/4/25 | ساعت: 0:01
Vote count: 0 I basically have 2 drop down boxes setup via html5 select element. Selection on the first one determines what is displayed in the 2nd one. However, the issue is that they both have the same id and jquery only works with the first group of the select elements and not the second. <div cl...
How to get domain name in REST API
◷
تاریخ انتشار: 1395/4/24 | ساعت: 22:58
Vote count: 0 We have create one rest api. And also how to get user domain name from user request process. Example: user using my rest api through curl method. Then how to get user domain name / ipaddress in my side. asked 1 min agoBala Kumaran This entry passed through the Full-Text RSS service - i...
Migration not found error
◷
تاریخ انتشار: 1395/4/24 | ساعت: 22:58
Vote count: 0 I have imported some SimaPro datasets from csv: In [1] sp = SimaProCSVImporter('VOI_export.CSV',"VOI_from_SP") Extracted 24 unallocated datasets in 0.31 seconds However, migration fails because the migration is not found: In [2] sp.migrate("simapro-ecoinvent-3") AssertionError: Can't f...
Mask containing pattern not working in SVG
◷
تاریخ انتشار: 1395/4/24 | ساعت: 22:58
Vote count: 0 Based on this example: https://bl.ocks.org/jfsiii/7772281 I am trying to fill an SVG shape with a masked patte . I have two boxes. The first takes just the dot patte . This works, but the color of the dots ca ot be changed in css. I have a second box, which has a fill and is then maske...
How to pass value Hidden field from database using Entity framework MVC5
◷
تاریخ انتشار: 1395/4/24 | ساعت: 21:58
Vote count: 0 I am using MVC Entity framework i have generated code i have fields Isactive this fields have values true or false . code looks like controller: [HttpPost] [ValidateAntiForgeryToken] public ActionResult Edit([Bind(Include="ClientId,ClientName,PrimaryContactName,EmailId,PrimaryContact,I...
How to get a numeric signature of a CHAR column in MySql
◷
تاریخ انتشار: 1395/4/24 | ساعت: 21:58
Vote count: 0 Given a CHAR or VARCHAR column in MySql, what I need is to convert it to a number so it can be summed up. For example, if the column name is CHAR1, the SELECT would be: SELECT SUM(ConvertToNumber(CHAR1)) from TABLE1 The function ConvertToNumber just needs to convert to a number, it doe...
Rails SCSS Background Image Not Rendering
◷
تاریخ انتشار: 1395/4/24 | ساعت: 21:58
Vote count: 0 I have a background image I'm putting on a div that is not loading to the page even though the path checks out. Here is what the inspector looks like: when I move my mouse over the path to see the image, on hover instead of seeing the image like normal the browser shows the path: local...
Unit testing JSON Swift
◷
تاریخ انتشار: 1395/4/24 | ساعت: 20:52
Vote count: 0 I am working on an iOS application written in Swift which parse a lot of JSON files. The JSON structures are sophisticated and I would to test them before to map JSON to object. For example test if the key 'users' exists and for each user the structure('name', 'first', 'last'). { "user...
tabs missing when copy excelsheet to a textbox vba
◷
تاریخ انتشار: 1395/4/24 | ساعت: 20:52
Vote count: 0 When a copy some cells in an excel sheet to a form some tabs will disappear when the text is to short, can someone help me? or how can I fix this in vba? the excel file the form asked 41 secs agoteyon47 This entry passed through the Full-Text RSS service - if this is your content and y...
Saving custom objet in NSUserDefaults returning null
◷
تاریخ انتشار: 1395/4/24 | ساعت: 20:52
Vote count: 0 I am trying to save a custom object in the NSUserDefaults but it is retu ing nill. I made sure that the object had values before it saves. func syncObjects(){ let userDefaults = NSUserDefaults.standardUserDefaults() userDefaults.setValue(NSKeyedArchiver.archivedDataWithRootObject(profi...
How to use regex for a single character in a String?
◷
تاریخ انتشار: 1395/4/24 | ساعت: 19:31
Vote count: 0 Hello i have the following String : LoopStep(i,0,m-1,1) and i want to use regex so that i will find just the first "(" ,for example my regex code is : ([^)]*). I want to check for the 1st open paranthesis only so i don't have a problem if my code will be LoopStep ((i,0,m-1,1)). asked 3...
How does a server become part of a distributed system?
◷
تاریخ انتشار: 1395/4/24 | ساعت: 19:31
Vote count: 0 The GemFire tutorial shows that a locator is started withgfsh>start locator --name=locator1 --port=55221 In some parts of the tutorial the command to start a server is shown asgfsh>start server --name=server1 --J=-Dgemfire.jmx-manager=true --J=-Dgemfire.jmx-manager-start=true --J=-Dgem...
Can we change the array range of all named references in Excel at once?
◷
تاریخ انتشار: 1395/4/24 | ساعت: 19:31
Vote count: 0 In my Excel file, i have about 50 named ranges. For example A1:A35 is named as ALPHA B1:B35 is named as BETA and so on. Now all of these end at Row 35 but say in future I get a bigger data set and I want to increase the array of all these 50 named ranges to say: A1:A100 to be Named as ...
awk variables don't work for date grep when start date and end date are in different months
◷
تاریخ انتشار: 1395/4/24 | ساعت: 18:28
Vote count: 0 zgrep -h -i "XYZ" ls filename* | sort -r | awk -v "b=Jun 14 05:39" -v "e=Jul 14 05:39" -F ',' '$0 >= b && $0 <= e' This doesn't work But zgrep -h -i "XYZ" ls filename* | sort -r | awk -v "b=Jul 1 05:39" -v "e=Jul 14 05:39" -F ',' '$0 >= b && $0 <= e' This works When I gave start date a...
How to get a particular folder in JSOM like GetFolder("FolderName") in CSOM?
◷
تاریخ انتشار: 1395/4/24 | ساعت: 18:28
Vote count: 0 I am trying to get a particular folder using JSOM, in order to set group permissions. There is group called NewGroup which should assigned to a folder called NewFolder in the Document Library called Shared Documents. var clientContext = new SP.ClientContext.get_current(); var oWebsite ...